mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -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.
11 lines
165 B
CMake
11 lines
165 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(EmptyOldStyle)
|
|
run_cmake(FromPATHEnv)
|
|
run_cmake(PrefixInPATH)
|
|
run_cmake(Required)
|
|
|
|
if(APPLE)
|
|
run_cmake(FrameworksWithSubdirs)
|
|
endif()
|