mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Set CMake 3.9 policy for macOS RPATH settings to NEW
This commit is contained in:
parent
625c205047
commit
bd292b5fce
@ -499,6 +499,9 @@ IF (WITH_CORE)
|
|||||||
IF (POLICY CMP0042) # in CMake 3.0.0+
|
IF (POLICY CMP0042) # in CMake 3.0.0+
|
||||||
SET (CMAKE_MACOSX_RPATH OFF) # otherwise ON by default
|
SET (CMAKE_MACOSX_RPATH OFF) # otherwise ON by default
|
||||||
ENDIF (POLICY CMP0042)
|
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
|
# for Mac OS X, everything is put inside an application bundle
|
||||||
# save the root install prefix for the app later
|
# save the root install prefix for the app later
|
||||||
SET (QGIS_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
|
SET (QGIS_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user