summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/find_library/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorJohn Parent <john.parent@kitware.com>2021-12-07 14:43:30 -0500
committerBrad King <brad.king@kitware.com>2021-12-17 08:55:21 -0500
commitd7b18895bcc707ed58beed9e17434341e60a6060 (patch)
tree9c4dfc589a843668d2d642a864f7002060a6822f /Tests/RunCMake/find_library/RunCMakeTest.cmake
parent029c8f50652415baf4aa3dd96c9a8dc9626ae4ec (diff)
downloadcmake-d7b18895bcc707ed58beed9e17434341e60a6060.tar.gz
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
Diffstat (limited to 'Tests/RunCMake/find_library/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/find_library/RunCMakeTest.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_library/RunCMakeTest.cmake b/Tests/RunCMake/find_library/RunCMakeTest.cmake
index ad02c821c5..eaaecf05b1 100644
--- a/Tests/RunCMake/find_library/RunCMakeTest.cmake
+++ b/Tests/RunCMake/find_library/RunCMakeTest.cmake
@@ -12,3 +12,5 @@ run_cmake(Required)
run_cmake(NO_CACHE)
run_cmake_script(FromScriptMode "-DTEMP_DIR=${RunCMake_BINARY_DIR}/FromScriptMode-temp")
+
+run_cmake_with_options(FromPATHEnvDebugVar --debug-find-var=CREATED_LIBRARY)