From 5b7a9d578033aad77a9e34dee83b8402c595fcbe Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Wed, 7 May 2014 17:56:46 -0300 Subject: [PATCH] Add --with-pic flag to msgpack configuration --- third-party/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index b2aa8e534b..fd16334830 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -90,7 +90,7 @@ if(USE_BUNDLED_MSGPACK) -DTARGET=msgpack -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/src/msgpack/configure --disable-shared - --prefix=${DEPS_INSTALL_DIR} CC=${CMAKE_C_COMPILER} + --with-pic --prefix=${DEPS_INSTALL_DIR} CC=${CMAKE_C_COMPILER} INSTALL_COMMAND ${MAKE_PRG} install) list(APPEND THIRD_PARTY_DEPS msgpack) endif()