2nd spot for cmake version check for policy setting.

This commit is contained in:
2026-01-25 14:49:38 +01:00
parent 3c02c6073a
commit 83c8f6630c

View File

@@ -3,8 +3,10 @@
cmake_minimum_required(VERSION 3.15)
# cmake: use BoostConfig.cmake instead of FindBoost
cmake_policy(SET CMP0167 NEW)
if (CMAKE_VERSION GREATER_EQUAL "3.3")
cmake_policy(SET CMP0167 NEW)
endif()
project(dump_nonlocal_field VERSION 1.0.0 LANGUAGES C CXX)
#--- check for git ------------------------------------------------------------