From d512c8639cd8cd0e8781bf3bda7a0a1ef4fac5bf Mon Sep 17 00:00:00 2001 From: debris Date: Wed, 5 Aug 2015 11:35:05 +0200 Subject: fixed cmake policy CMP0042, MACOSX RPATH --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66f32e4d..21fc18f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,4 @@ cmake_policy(SET CMP0015 NEW) -# this policy was introduced in cmake 3.0 -# remove if, once 3.0 will be used on unix -if (${CMAKE_MAJOR_VERSION} GREATER 2) - # old policy do not use MACOSX_RPATH - cmake_policy(SET CMP0042 OLD) -endif() set(CMAKE_AUTOMOC OFF) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB") -- cgit