We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 870304d + fed3bd0 commit ac27876Copy full SHA for ac27876
1 file changed
cmake_modules/KratosBoost.cmake
@@ -3,6 +3,11 @@
3
# Check if the BOOST_ROOT environment variable is defined
4
if(DEFINED ENV{BOOST_ROOT})
5
set(BOOST_ROOT $ENV{BOOST_ROOT})
6
+ # Check that boost/any.hpp exists in the BOOST_ROOT include directory
7
+ if(EXISTS "${BOOST_ROOT}/boost/any.hpp")
8
+ set(BOOST_INCLUDEDIR "${BOOST_ROOT}")
9
+ set(BOOST_LIBRARYDIR "${BOOST_ROOT}")
10
+ endif(EXISTS "${BOOST_ROOT}/boost/any.hpp")
11
else(DEFINED ENV{BOOST_ROOT})
12
# Check if BOOST_INCLUDEDIR and BOOST_LIBRARYDIR are already defined as environment variables
13
if(DEFINED ENV{BOOST_INCLUDEDIR})
0 commit comments