Commit 69426adf authored by Berk Onat's avatar Berk Onat

Dependencies are changed for stability

parent 2b8f312f
......@@ -4,7 +4,7 @@ include(ExternalProject)
set(TNG_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/tng")
set(TNG_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/tng")
set(TNG_CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${TNG_INSTALL_DIR} -DBUILD_SHARED_LIBS=OFF)
set(TNG_CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${TNG_INSTALL_DIR} -DBUILD_SHARED_LIBS=OFF -DCFLAGS=-fPIC -DCXXFLAGS=-fPIC)
message("TNG_PREFIX='${TNG_PREFIX}'")
message("TNG_INSTALL_DIR='${TNG_INSTALL_DIR}'")
......@@ -16,8 +16,8 @@ ExternalProject_Add(tng
GIT_REPOSITORY https://github.com/gromacs/tng.git
GIT_TAG v1.7.6
INSTALL_DIR ${TNG_INSTALL_DIR}
CMAKE_ARGS ${TNG_CMAKE_ARGS}
CMAKE_COMMAND CFLAGS=-fPIC CXXFLAGS-fPIC ${CMAKE_COMMAND}
CMAKE_ARGS ${TNG_CMAKE_ARGS}
CMAKE_COMMAND CFLAGS=-fPIC CXXFLAGS=-fPIC ${CMAKE_COMMAND}
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment