Permalink
Browse files

added some missing disable-PIE flags

  • Loading branch information...
evaleev committed Dec 14, 2017
1 parent c3cfb7d commit a1dae00f55d784e83568e59d80ddf7d3080f5d8c
Showing with 2 additions and 2 deletions.
  1. +1 −1 cmake/modules/AddUnittests.cmake
  2. +1 −1 src/madness/mra/CMakeLists.txt
@@ -16,7 +16,7 @@ macro(add_unittests _component _sources _libs)
# Create test executables
add_executable(${_test} EXCLUDE_FROM_ALL ${_source_list})
target_link_libraries(${_test} ${_libs})
target_link_libraries(${_test} ${_libs} "${DISABLEPIE_LINKER_FLAG}")
# Add the test and set dependencies
add_test(NAME ${_component}-${_test} COMMAND ${_test})
@@ -48,7 +48,7 @@ if(ENABLE_UNITTESTS)
foreach(_test ${MRA_OTHER_TESTS})
add_executable(${_test} EXCLUDE_FROM_ALL ${_test}.cc)
target_link_libraries(${_test} MADmra)
target_link_libraries(${_test} MADmra "${DISABLEPIE_LINKER_FLAG}")
endforeach()
endif()

0 comments on commit a1dae00

Please sign in to comment.