Skip to content

Commit

Permalink
Set CMake 3.9 policy for macOS RPATH settings to NEW
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Sep 14, 2017
1 parent 625c205 commit bd292b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -499,6 +499,9 @@ IF (WITH_CORE)
IF (POLICY CMP0042) # in CMake 3.0.0+
SET (CMAKE_MACOSX_RPATH OFF) # otherwise ON by default
ENDIF (POLICY CMP0042)
IF (POLICY CMP0068) # in CMake 3.9.0+
cmake_policy(SET CMP0068 NEW)
ENDIF (POLICY CMP0068)
# for Mac OS X, everything is put inside an application bundle
# save the root install prefix for the app later
SET (QGIS_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
Expand Down

0 comments on commit bd292b5

Please sign in to comment.