FailCopyFileABI-override.cmake 259 B

123456
  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()