From 9177cfefed093047a0207da59c8f6fff5e1095c0 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Fri, 23 Jun 2017 13:31:24 +0200 Subject: [PATCH] Add Project( DD4hep ) call so cmake policies are properly set Fixes issue that CMAKE_CXX_COMPILER_ID was not AppleClang on MAC --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 32a8bd723..3b5a11d75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,7 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR) + +PROJECT( DD4hep ) + set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake ) # include ( DD4hepBuild ) -- GitLab