aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildMsgpack.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/BuildMsgpack.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/BuildMsgpack.cmake')
-rw-r--r--cmake.deps/cmake/BuildMsgpack.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake.deps/cmake/BuildMsgpack.cmake b/cmake.deps/cmake/BuildMsgpack.cmake
index 10bf1c8e37..ea3fa84d7b 100644
--- a/cmake.deps/cmake/BuildMsgpack.cmake
+++ b/cmake.deps/cmake/BuildMsgpack.cmake
@@ -36,7 +36,6 @@ set(MSGPACK_CONFIGURE_COMMAND ${CMAKE_COMMAND} ${DEPS_BUILD_DIR}/src/msgpack
-DMSGPACK_BUILD_EXAMPLES=OFF
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
- -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES_ALT_SEP}
"-DCMAKE_C_FLAGS:STRING=${CMAKE_C_COMPILER_ARG1} -fPIC"
-DCMAKE_GENERATOR=${CMAKE_GENERATOR})
@@ -52,8 +51,8 @@ if(MSVC)
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
+ ${BUILD_TYPE_STRING}
"-DCMAKE_C_FLAGS:STRING=${CMAKE_C_COMPILER_ARG1}"
- -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
# Make sure we use the same generator, otherwise we may
# accidentally end up using different MSVC runtimes
-DCMAKE_GENERATOR=${CMAKE_GENERATOR})