More CMake policies that we need to set.

This commit is contained in:
Robert Maynard 2015-10-21 17:20:08 -04:00
parent 160f0099e5
commit 3572a99950

@ -23,6 +23,7 @@ cmake_minimum_required(VERSION 2.8.11)
#setup policy rules for CMake 3.0 while we have a minimum required of 2.8.X #setup policy rules for CMake 3.0 while we have a minimum required of 2.8.X
if(POLICY CMP0025) if(POLICY CMP0025)
cmake_policy(SET CMP0025 NEW)#Clang and AppleClang are different compiler ids cmake_policy(SET CMP0025 NEW)#Clang and AppleClang are different compiler ids
cmake_policy(SET CMP0042 NEW)#Enable RPATH on OSX
endif() endif()
#setup policy rules for CMake 3.1 while we have a minimum required of 2.8.X #setup policy rules for CMake 3.1 while we have a minimum required of 2.8.X