summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/PositionIndependentCode/PIE-pie_off-check.cmake
blob: 096395c08eb9dfd78b1f484168d6e6702faa74b0 (plain)
1
2
3
4
5
6
7

include ("${RunCMake_TEST_BINARY_DIR}/${RunCMake_TEST_CONFIG}/PIE_config.cmake")

check_executable ("${pie_off}" status)
if (NOT status STREQUAL "NO_PIE")
  set (RunCMake_TEST_FAILED "Executable is NOT 'no PIE' (${status}).")
endif()