mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-12 09:20:41 -06:00
In the same spirit as the REQUIRED keyword on find_package, this will stop cmake execution with an error on a failed find_program, find_file, find_path or find_library.
13 lines
241 B
CMake
13 lines
241 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(EnvAndHints)
|
|
run_cmake(DirsPerName)
|
|
run_cmake(NamesPerDir)
|
|
run_cmake(RelAndAbsPath)
|
|
run_cmake(Required)
|
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES "^(Windows|CYGWIN)$")
|
|
run_cmake(WindowsCom)
|
|
run_cmake(WindowsExe)
|
|
endif()
|