Browse Source

Tests: Make RunCMake.FindBoost robust to Boost_ROOT in environment

Remove the environment variable within the test to avoid CMP0074
behavior.
Brad King 6 years ago
parent
commit
97d2109294
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Tests/RunCMake/FindBoost/RunCMakeTest.cmake

+ 1 - 0
Tests/RunCMake/FindBoost/RunCMakeTest.cmake

@@ -1,4 +1,5 @@
 include(RunCMake)
+unset(ENV{Boost_ROOT})
 
 run_cmake(CMakePackage)
 run_cmake(NoCXX)