aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildTreesitterParsers.cmake
diff options
context:
space:
mode:
authordundargoc <gocundar@gmail.com>2022-08-06 00:20:10 +0200
committerdundargoc <gocundar@gmail.com>2022-08-13 21:22:07 +0200
commit11837e9b2900b376bf416fe4ad710f3a7b6509de (patch)
treeb0f14ea76ead64a7c017f3c2aa4a36f73a557f99 /cmake.deps/cmake/BuildTreesitterParsers.cmake
parent2dde701115f651633ae85d2b0b7e9d2f24cfe7f2 (diff)
downloadrneovim-11837e9b2900b376bf416fe4ad710f3a7b6509de.tar.gz
rneovim-11837e9b2900b376bf416fe4ad710f3a7b6509de.tar.bz2
rneovim-11837e9b2900b376bf416fe4ad710f3a7b6509de.zip
build: only use CMAKE_BUILD_TYPE for single-config generators
CMAKE_BUILD_TYPE is ignored for multi-config generators and creates a warning that it's unused.
Diffstat (limited to 'cmake.deps/cmake/BuildTreesitterParsers.cmake')
-rw-r--r--cmake.deps/cmake/BuildTreesitterParsers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake.deps/cmake/BuildTreesitterParsers.cmake b/cmake.deps/cmake/BuildTreesitterParsers.cmake
index 11ffb792de..1ff86e89b9 100644
--- a/cmake.deps/cmake/BuildTreesitterParsers.cmake
+++ b/cmake.deps/cmake/BuildTreesitterParsers.cmake
@@ -17,7 +17,7 @@ CMAKE_ARGS
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_GENERATOR=${CMAKE_GENERATOR}
-DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
- -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
+ ${BUILD_TYPE_STRING}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES_ALT_SEP}
# Pass toolchain