summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_file
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-03-21 19:05:39 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2022-04-15 13:33:55 (GMT)
commit42f7e397894c5132b4706f478e62ce5d648119c1 (patch)
treecbc53e9c4fad5d12e3c724011770a377fc572890 /Tests/RunCMake/find_file
parent7fc248bde34c529c6f1312a56c7e82303238b9c1 (diff)
downloadCMake-42f7e397894c5132b4706f478e62ce5d648119c1.zip
CMake-42f7e397894c5132b4706f478e62ce5d648119c1.tar.gz
CMake-42f7e397894c5132b4706f478e62ce5d648119c1.tar.bz2
Find: Support per call disabling of CMAKE_INSTALL_PREFIX
Fixes #23359
Diffstat (limited to 'Tests/RunCMake/find_file')
-rw-r--r--Tests/RunCMake/find_file/FromPATHEnvDebugVar-stderr.txt2
-rw-r--r--Tests/RunCMake/find_file/PrefixInPATH-stderr.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_file/FromPATHEnvDebugVar-stderr.txt b/Tests/RunCMake/find_file/FromPATHEnvDebugVar-stderr.txt
index 38ed98c..edf2cab 100644
--- a/Tests/RunCMake/find_file/FromPATHEnvDebugVar-stderr.txt
+++ b/Tests/RunCMake/find_file/FromPATHEnvDebugVar-stderr.txt
@@ -8,6 +8,7 @@
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 0
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
+ CMAKE_FIND_USE_INSTALL_PREFIX: 1
find_file considered the following locations:.*
The item was not found.*
@@ -21,5 +22,6 @@
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 0
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
+ CMAKE_FIND_USE_INSTALL_PREFIX: 1
find_file considered the following locations:.*
diff --git a/Tests/RunCMake/find_file/PrefixInPATH-stderr.txt b/Tests/RunCMake/find_file/PrefixInPATH-stderr.txt
index 0d77571..93e6253 100644
--- a/Tests/RunCMake/find_file/PrefixInPATH-stderr.txt
+++ b/Tests/RunCMake/find_file/PrefixInPATH-stderr.txt
@@ -8,6 +8,7 @@
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
+ CMAKE_FIND_USE_INSTALL_PREFIX: 1
find_file considered the following locations:.*
.*include/PrefixInPATH.*