summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-08 12:59:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-12-08 13:00:07 (GMT)
commit239beca1e3743ec693643869621cd0e41ed10a16 (patch)
treeb105fcba738fe5ec0f57ffc126a7b381e89ffcd4
parent9fc3d5905f4ac977f34b5c54562e4e06a33dec97 (diff)
parent8b9c9e7e27ecb1414498c668d7c83352fcaf7e39 (diff)
downloadCMake-239beca1e3743ec693643869621cd0e41ed10a16.zip
CMake-239beca1e3743ec693643869621cd0e41ed10a16.tar.gz
CMake-239beca1e3743ec693643869621cd0e41ed10a16.tar.bz2
Merge topic 'test-FindBoost-no-system'
8b9c9e7e27 Tests: Teach RunCMake.FindBoost to avoid finding an external Boost Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7997
-rw-r--r--Tests/RunCMake/FindBoost/CommonNotFound.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindBoost/CommonNotFound.cmake b/Tests/RunCMake/FindBoost/CommonNotFound.cmake
index 864a549..b146d3d 100644
--- a/Tests/RunCMake/FindBoost/CommonNotFound.cmake
+++ b/Tests/RunCMake/FindBoost/CommonNotFound.cmake
@@ -1,2 +1,6 @@
+set(CMAKE_FIND_USE_CMAKE_PATH OFF)
+set(CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH OFF)
+set(CMAKE_FIND_USE_CMAKE_SYSTEM_PATH OFF)
+set(CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH OFF)
# Make sure to use the module mode signature here to not bypass FindBoost
find_package(Boost 1.80 COMPONENTS timer foobar)