You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
298 B
8 lines
298 B
11 years ago
|
# Change the executable suffix that try_compile will use for
|
||
2 years ago
|
# COPY_FILE but not inside the test project, to verify
|
||
|
# we can handle envs that try and break everything
|
||
11 years ago
|
get_property(in_try_compile GLOBAL PROPERTY IN_TRY_COMPILE)
|
||
|
if(NOT in_try_compile)
|
||
|
set(CMAKE_EXECUTABLE_SUFFIX .missing)
|
||
|
endif()
|