aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLibtermkey.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/BuildLibtermkey.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/BuildLibtermkey.cmake')
-rw-r--r--cmake.deps/cmake/BuildLibtermkey.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake.deps/cmake/BuildLibtermkey.cmake b/cmake.deps/cmake/BuildLibtermkey.cmake
index d44e09d734..66bac57d23 100644
--- a/cmake.deps/cmake/BuildLibtermkey.cmake
+++ b/cmake.deps/cmake/BuildLibtermkey.cmake
@@ -18,7 +18,7 @@ ExternalProject_Add(libtermkey
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
# Pass toolchain
-DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN}
- -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
+ ${BUILD_TYPE_STRING}
# Hack to avoid -rdynamic in Mingw
-DCMAKE_SHARED_LIBRARY_LINK_C_FLAGS=""
-DCMAKE_GENERATOR=${CMAKE_GENERATOR}