Imported Upstream version 3.24.3
[platform/upstream/cmake.git] / Tests / RunCMake / Configure / FailCopyFileABI-override.cmake
1 # Change the executable suffix that try_compile will use for
2 # COPY_FILE but not inside the test project.  This forces failure.
3 get_property(in_try_compile GLOBAL PROPERTY IN_TRY_COMPILE)
4 if(NOT in_try_compile)
5   set(CMAKE_EXECUTABLE_SUFFIX .missing)
6 endif()