Commit 69a3f678 authored by peastman's avatar peastman
Browse files

Merge pull request #1115 from rmcgibbo/policy

Silence OSX CMake RPATH warning
parents 043377fd b954757b
...@@ -22,6 +22,9 @@ IF( NOT PROJECT_NAME ) ...@@ -22,6 +22,9 @@ IF( NOT PROJECT_NAME )
ENDIF( NOT PROJECT_NAME ) ENDIF( NOT PROJECT_NAME )
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
if("${CMAKE_VERSION}" VERSION_GREATER "3.0" OR "${CMAKE_VERSION}" VERSION_EQUAL "3.0")
CMAKE_POLICY(SET CMP0042 OLD)
endif()
#SET(CMAKE_VERBOSE_MAKEFILE 1) #SET(CMAKE_VERBOSE_MAKEFILE 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment