mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-08 11:29:02 +00:00
More CMake policies that we need to set.
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user