diff --git a/CMakeLists.txt b/CMakeLists.txt index f202b70ce1d9502e0afdcaee24a419291bd6948b..a5e639ed7fe451dbe7b92a3973526d985e5363d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,8 @@ -cmake_minimum_required(VERSION 3.3 FATAL_ERROR) +cmake_minimum_required(VERSION 3.12 FATAL_ERROR) + +# CMP0074: find_package() uses <PackageName>_ROOT variables +cmake_policy(SET CMP0074 NEW) + PROJECT(ip6 LANGUAGES CXX DESCRIPTION "A template dd4hep+acts beamline"