diff --git a/CMakeLists.txt b/CMakeLists.txt index ec55d8cd7d54eb066916bbaad8afc4bf531d7d06..c4531496b5017f553dc934cee607b89afd5e9aa8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,9 @@ ############################################################################ cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR) +if(POLICY CMP0042) +cmake_policy(SET CMP0042 NEW) +endif() project(BornAgain)