diff options
Diffstat (limited to 'cmake.deps/cmake/BuildMsgpack.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildMsgpack.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake.deps/cmake/BuildMsgpack.cmake b/cmake.deps/cmake/BuildMsgpack.cmake index 9d112c57b1..8347eb6170 100644 --- a/cmake.deps/cmake/BuildMsgpack.cmake +++ b/cmake.deps/cmake/BuildMsgpack.cmake @@ -5,13 +5,9 @@ set(MSGPACK_CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_GENERATOR=${CMAKE_GENERATOR} -DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM} + -DCMAKE_POSITION_INDEPENDENT_CODE=ON ${BUILD_TYPE_STRING}) -if(NOT MSVC) - list(APPEND MSGPACK_CMAKE_ARGS - "-DCMAKE_C_FLAGS:STRING=-fPIC") -endif() - if(USE_EXISTING_SRC_DIR) unset(MSGPACK_URL) endif() |