Skip to content
Permalink
Browse files

Set CMake 3.9 policy for macOS RPATH settings to NEW

  • Loading branch information
dakcarto committed Sep 14, 2017
1 parent 625c205 commit bd292b5fcef605295f340b3d63e52399162c5bb4
Showing with 3 additions and 0 deletions.
  1. +3 −0 CMakeLists.txt
@@ -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})

0 comments on commit bd292b5

Please sign in to comment.
You can’t perform that action at this time.