summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/Configure/FailCopyFileABI-override.cmake
blob: c633555b643eb4208a175a2c4704e3fb6ff968be (plain)
1
2
3
4
5
6
# Change the executable suffix that try_compile will use for
# COPY_FILE but not inside the test project.  This forces failure.
get_property(in_try_compile GLOBAL PROPERTY IN_TRY_COMPILE)
if(NOT in_try_compile)
  set(CMAKE_EXECUTABLE_SUFFIX .missing)
endif()