add some boost component checks. Increase the musrfit version number.

This commit is contained in:
suter_a 2021-03-30 15:41:38 +02:00
parent 756c6a52c1
commit 08c841f0d9

View File

@ -5,7 +5,7 @@ if (CMAKE_VERSION GREATER_EQUAL 3.12)
cmake_policy(SET CMP0075 NEW) cmake_policy(SET CMP0075 NEW)
endif (CMAKE_VERSION GREATER_EQUAL 3.12) endif (CMAKE_VERSION GREATER_EQUAL 3.12)
project(musrfit VERSION 1.6.5 LANGUAGES C CXX) project(musrfit VERSION 1.7.0 LANGUAGES C CXX)
#--- musrfit specific options ------------------------------------------------- #--- musrfit specific options -------------------------------------------------
option(dks "build musrfit with DKS (GPU/MIC) support" ON) option(dks "build musrfit with DKS (GPU/MIC) support" ON)
@ -84,7 +84,12 @@ if (ROOT_mathmore_FOUND)
endif (ROOT_mathmore_FOUND) endif (ROOT_mathmore_FOUND)
#--- check for boost ---------------------------------------------------------- #--- check for boost ----------------------------------------------------------
find_package(Boost REQUIRED) find_package(Boost REQUIRED
COMPONENTS
system
filesystem
)
message(STATUS "Boost libs: ${Boost_LIBRARIES}")
#--- check for gsl ------------------------------------------------------------ #--- check for gsl ------------------------------------------------------------
find_package(GSL REQUIRED) find_package(GSL REQUIRED)