Files
CMake/Tests/RunCMake/find_file/RunCMakeTest.cmake
T
John Parent d7b18895bc cmake: Add filtered debug-find options
Add a `--debug-find-pkg=` option to debug find calls for specific
packages.

Add a `--debug-find-var=` option to debug find calls for specific
return variables.

Fixes: #21880
2021-12-17 08:55:21 -05:00

10 lines
212 B
CMake

include(RunCMake)
run_cmake(FromPATHEnv)
run_cmake(FromPrefixPath)
run_cmake(PrefixInPATH)
run_cmake(Required)
run_cmake(NO_CACHE)
run_cmake_with_options(FromPATHEnvDebugVar --debug-find-var=PrefixInPATH_File)