From 08c841f0d9e666681b17a18ec0b9d2742dcb08f4 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Tue, 30 Mar 2021 15:41:38 +0200 Subject: [PATCH] add some boost component checks. Increase the musrfit version number. --- CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 498f91e8..ad695ce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ if (CMAKE_VERSION GREATER_EQUAL 3.12) cmake_policy(SET CMP0075 NEW) 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 ------------------------------------------------- option(dks "build musrfit with DKS (GPU/MIC) support" ON) @@ -84,7 +84,12 @@ if (ROOT_mathmore_FOUND) endif (ROOT_mathmore_FOUND) #--- check for boost ---------------------------------------------------------- -find_package(Boost REQUIRED) +find_package(Boost REQUIRED + COMPONENTS + system + filesystem +) +message(STATUS "Boost libs: ${Boost_LIBRARIES}") #--- check for gsl ------------------------------------------------------------ find_package(GSL REQUIRED)