summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindBoost
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-14 12:44:32 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-14 12:44:32 (GMT)
commit97d21092944354cce5de9a68a7d9bc637cda085d (patch)
tree5aff2a6b4a5a1d52652eed86ba7c531431259e8e /Tests/RunCMake/FindBoost
parent848dc85187ec1e4b2364987d911ce7af93062b45 (diff)
downloadCMake-97d21092944354cce5de9a68a7d9bc637cda085d.zip
CMake-97d21092944354cce5de9a68a7d9bc637cda085d.tar.gz
CMake-97d21092944354cce5de9a68a7d9bc637cda085d.tar.bz2
Tests: Make RunCMake.FindBoost robust to Boost_ROOT in environment
Remove the environment variable within the test to avoid CMP0074 behavior.
Diffstat (limited to 'Tests/RunCMake/FindBoost')
-rw-r--r--Tests/RunCMake/FindBoost/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindBoost/RunCMakeTest.cmake b/Tests/RunCMake/FindBoost/RunCMakeTest.cmake
index 5d0577b..eef350c 100644
--- a/Tests/RunCMake/FindBoost/RunCMakeTest.cmake
+++ b/Tests/RunCMake/FindBoost/RunCMakeTest.cmake
@@ -1,4 +1,5 @@
include(RunCMake)
+unset(ENV{Boost_ROOT})
run_cmake(CMakePackage)
run_cmake(NoCXX)