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.
13 lines
347 B
13 lines
347 B
include(RunCMake)
|
|
|
|
run_cmake(BadLinkLibraries)
|
|
|
|
if (CMAKE_SYSTEM_NAME MATCHES "^(Linux|Darwin|Windows)$" AND
|
|
CMAKE_C_COMPILER_ID MATCHES "^(MSVC|GNU|LCC|Clang|AppleClang)$")
|
|
set (RunCMake_TEST_OPTIONS -DRunCMake_C_COMPILER_ID=${CMAKE_C_COMPILER_ID})
|
|
run_cmake(LinkOptions)
|
|
unset (RunCMake_TEST_OPTIONS)
|
|
endif()
|
|
|
|
run_cmake(WorkingDirArg)
|