2nd spot for cmake version check for policy setting.
All checks were successful
Build and Deploy Documentation / build-and-deploy (push) Successful in 19s
All checks were successful
Build and Deploy Documentation / build-and-deploy (push) Successful in 19s
This commit is contained in:
6
src/external/Nonlocal/prog/CMakeLists.txt
vendored
6
src/external/Nonlocal/prog/CMakeLists.txt
vendored
@@ -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 ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user