always build metis with position independent code

This commit is contained in:
Lukas 2019-04-17 10:45:32 +02:00
parent b0eae54226
commit 6f91ab5a2c

View File

@ -9,6 +9,9 @@ ExternalProject_Add(project_metis
CMAKE_ARGS CMAKE_ARGS
-DGKLIB_PATH=${METIS_SRC_DIR}/GKlib -DGKLIB_PATH=${METIS_SRC_DIR}/GKlib
-DCMAKE_INSTALL_PREFIX=${METIS_DIR} -DCMAKE_INSTALL_PREFIX=${METIS_DIR}
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
UPDATE_COMMAND "" # Disable update UPDATE_COMMAND "" # Disable update
BUILD_IN_SOURCE 1 BUILD_IN_SOURCE 1
) )