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