Commit 883db82a authored by T.J. Corona's avatar T.J. Corona

Remove hardcoded boost version from config file

parent cab441e7
......@@ -29,7 +29,7 @@ set(smtk_cmake_dir ${CMAKE_CURRENT_LIST_DIR})
if(TARGET smtkCore)
else()
find_package(Boost 1.64.0
find_package(Boost @SMTK_MINIMUM_BOOST_VERSION@
COMPONENTS @required_boost_components@ REQUIRED)
find_package(nlohmann_json REQUIRED)
find_package(MOAB REQUIRED)
......
......@@ -287,7 +287,8 @@ else()
list(APPEND required_boost_components regex)
endif()
find_package(Boost 1.64.0
set(SMTK_MINIMUM_BOOST_VERSION 1.64.0)
find_package(Boost ${SMTK_MINIMUM_BOOST_VERSION}
COMPONENTS ${required_boost_components} REQUIRED)
if(WIN32 AND MSVC)
......
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