From 3572a99950f1435ec1411c44b304aca676849a29 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Wed, 21 Oct 2015 17:20:08 -0400 Subject: [PATCH] More CMake policies that we need to set. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 724aa3680..2dfb8313a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 if(POLICY CMP0025) cmake_policy(SET CMP0025 NEW)#Clang and AppleClang are different compiler ids + cmake_policy(SET CMP0042 NEW)#Enable RPATH on OSX endif() #setup policy rules for CMake 3.1 while we have a minimum required of 2.8.X