diff --git a/CMakeLists.txt b/CMakeLists.txt index 775513ac8..bafe9c194 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ if ( NOT NO_PYTHON ) # Hint for boost on anaconda if (DEFINED ENV{CONDA_PREFIX}) - set(Boost_ROOT $ENV{CONDA_PREFIX}) + set(BOOST_ROOT $ENV{CONDA_PREFIX}) endif() # libboost_python3.7 style libraries diff --git a/templates/RogueConfig.cmake.in b/templates/RogueConfig.cmake.in index 6d891b227..2d9feeabf 100644 --- a/templates/RogueConfig.cmake.in +++ b/templates/RogueConfig.cmake.in @@ -49,7 +49,7 @@ if ( NOT NO_PYTHON ) # Hint for boost on anaconda if (DEFINED ENV{CONDA_PREFIX}) - set(Boost_ROOT $ENV{CONDA_PREFIX}) + set(BOOST_ROOT $ENV{CONDA_PREFIX}) endif() # libboost_python3.7 style libraries