Imported Upstream version 3.24.3
[platform/upstream/cmake.git] / Tests / RunCMake / Configure / CopyFileABI-override.cmake
1 # Change the executable suffix that try_compile will use for
2 # COPY_FILE but not inside the test project, to verify
3 # we can handle envs that try and break everything
4 get_property(in_try_compile GLOBAL PROPERTY IN_TRY_COMPILE)
5 if(NOT in_try_compile)
6   set(CMAKE_EXECUTABLE_SUFFIX .missing)
7 endif()