aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLuv.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/BuildLuv.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/BuildLuv.cmake')
-rw-r--r--cmake.deps/cmake/BuildLuv.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake.deps/cmake/BuildLuv.cmake b/cmake.deps/cmake/BuildLuv.cmake
index eb60a6496e..f960b24992 100644
--- a/cmake.deps/cmake/BuildLuv.cmake
+++ b/cmake.deps/cmake/BuildLuv.cmake
@@ -59,7 +59,7 @@ set(LUV_INCLUDE_FLAGS
set(LUV_CONFIGURE_COMMAND_COMMON
${CMAKE_COMMAND} ${LUV_SRC_DIR}
-DCMAKE_GENERATOR=${CMAKE_GENERATOR}
- -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
+ ${BUILD_TYPE_STRING}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES_ALT_SEP}
-DLUA_BUILD_TYPE=System