mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-27 04:09:36 +03: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()
|