2nd spot for cmake version check for policy setting.

This commit is contained in:
2026-02-13 14:00:30 +01:00
parent adcd0ea39f
commit 0eb90caf9a
+4 -2
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 ------------------------------------------------------------