From 285310e13d2c2325d5d0cc4e739ce463ddb8cc2a Mon Sep 17 00:00:00 2001
From: Norihiro Watanabe <norihiro.watanabe@ufz.de>
Date: Wed, 22 Jun 2016 10:57:18 +0200
Subject: [PATCH] fix internally setting BOOST_ROOT from env var

---
 scripts/cmake/ExternalProjectBoost.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/cmake/ExternalProjectBoost.cmake b/scripts/cmake/ExternalProjectBoost.cmake
index 71d4daef9e8..1f774322385 100644
--- a/scripts/cmake/ExternalProjectBoost.cmake
+++ b/scripts/cmake/ExternalProjectBoost.cmake
@@ -13,7 +13,7 @@ if(Boost_FOUND)
 endif()
 
 if(NOT DEFINED BOOST_ROOT AND DEFINED ENV{BOOST_ROOT})
-    set(BOOST_ROOT $ENV{BOOST_ROOT} TRUE CACHE PATH "")
+    set(BOOST_ROOT $ENV{BOOST_ROOT} CACHE PATH "")
 endif()
 
 # First check for system boost
-- 
GitLab