diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a3a37bd..5ebb0c8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ # - musrfit cmake_minimum_required(VERSION 3.17) +# cmake: use BoostConfig.cmake instead of FindBoost +cmake_policy(SET CMP0167 NEW) + project(musrfit VERSION 1.9.10 LANGUAGES C CXX) #--- musrfit specific options ------------------------------------------------- diff --git a/src/external/Nonlocal/prog/CMakeLists.txt b/src/external/Nonlocal/prog/CMakeLists.txt index 1c36c0d0..b54e4225 100644 --- a/src/external/Nonlocal/prog/CMakeLists.txt +++ b/src/external/Nonlocal/prog/CMakeLists.txt @@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.15) +# cmake: use BoostConfig.cmake instead of FindBoost +cmake_policy(SET CMP0167 NEW) + project(dump_nonlocal_field VERSION 1.0.0 LANGUAGES C CXX) #--- check for git ------------------------------------------------------------