cmake version check for policy setting.
This commit is contained in:
@@ -2,7 +2,9 @@
|
|||||||
cmake_minimum_required(VERSION 3.17)
|
cmake_minimum_required(VERSION 3.17)
|
||||||
|
|
||||||
# cmake: use BoostConfig.cmake instead of FindBoost
|
# cmake: use BoostConfig.cmake instead of FindBoost
|
||||||
|
if (CMAKE_VERSION GREATER_EQUAL "3.3")
|
||||||
cmake_policy(SET CMP0167 NEW)
|
cmake_policy(SET CMP0167 NEW)
|
||||||
|
endif ()
|
||||||
|
|
||||||
project(musrfit VERSION 1.9.10 LANGUAGES C CXX)
|
project(musrfit VERSION 1.9.10 LANGUAGES C CXX)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user