mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
0c141b0393
Fixes #23887, #23942, #20163, #18288
8 lines
298 B
CMake
8 lines
298 B
CMake
# Change the executable suffix that try_compile will use for
|
|
# COPY_FILE but not inside the test project, to verify
|
|
# we can handle envs that try and break everything
|
|
get_property(in_try_compile GLOBAL PROPERTY IN_TRY_COMPILE)
|
|
if(NOT in_try_compile)
|
|
set(CMAKE_EXECUTABLE_SUFFIX .missing)
|
|
endif()
|