]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - CMakeLists.txt
doxy: correctly consider macro blocks in methods
[u/mrichter/AliRoot.git] / CMakeLists.txt
index 362eaa0410c124f711de8d1309769db4662728b8..928a9d3269234523ca8764a2200472a19c36d6ac 100644 (file)
 
 cmake_minimum_required(VERSION 2.8.11 FATAL_ERROR)
 
+### CMP0025   Compiler id for Apple Clang is now AppleClang.
+### CMP0042   MACOSX_RPATH is enabled by default.
+
+foreach(p
+  CMP0025 # CMake 3.0
+  CMP0042 # CMake 3.0
+  )
+  if(POLICY ${p})
+  cmake_policy(SET ${p} NEW)
+  endif()
+endforeach()
+
 project(AliRoot CXX C)
 
 message(STATUS "CMake platform: ${CMAKE_SYSTEM}")