Added explicitly CMP0075 policy in order to get rid of an unnessary warning.

This commit is contained in:
suter_a 2019-11-08 20:12:31 +01:00
parent d5d6140e42
commit ed3497a647

View File

@ -1,6 +1,10 @@
# - musrfit --- DKS ----------------------------------------------------------- # - musrfit --- DKS -----------------------------------------------------------
cmake_minimum_required(VERSION 3.9) cmake_minimum_required(VERSION 3.9)
if (CMAKE_VERSION GREATER_EQUAL 3.12)
cmake_policy(SET CMP0075 NEW)
endif (CMAKE_VERSION GREATER_EQUAL 3.12)
project(musrfit VERSION 1.5.1 LANGUAGES C CXX) project(musrfit VERSION 1.5.1 LANGUAGES C CXX)
#--- musrfit specific options ------------------------------------------------- #--- musrfit specific options -------------------------------------------------