Commit 531cab0e authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fix detection of BOOST_HOME environmental variable.

parent 764acd12
...@@ -92,7 +92,8 @@ ELSE (THIRDPARTY_BUILD_BOOST) ...@@ -92,7 +92,8 @@ ELSE (THIRDPARTY_BUILD_BOOST)
#If the user has not set BOOST_ROOT, look in a couple common places first. #If the user has not set BOOST_ROOT, look in a couple common places first.
IF( NOT BOOST_ROOT ) IF( NOT BOOST_ROOT )
IF (DEFINED($ENV{BOOST_HOME})) SET(TEST_ENV ENV{BOOST_HOME})
IF (DEFINED TEST_ENV)
SET(Boost_NO_SYSTEM_PATHS ON) SET(Boost_NO_SYSTEM_PATHS ON)
SET(BOOST_ROOT $ENV{BOOST_HOME}) SET(BOOST_ROOT $ENV{BOOST_HOME})
FIND_PACKAGE( Boost COMPONENTS thread iostreams zlib date_time FIND_PACKAGE( Boost COMPONENTS thread iostreams zlib date_time
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment