set cmake Boost find policy.

This commit is contained in:
2026-01-25 07:26:25 +01:00
parent 8152c97f14
commit b00fb31dc3
2 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
# - musrfit --- DKS -----------------------------------------------------------
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 -------------------------------------------------

View File

@@ -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 ------------------------------------------------------------