Skip to content
Snippets Groups Projects
Commit 7a0f07a2 authored by Paul Dechamps's avatar Paul Dechamps
Browse files

(fix) Support for apple.

Modified dartflo CMakeLists to set the rpath correctly.
parent 3a33458d
No related branches found
No related tags found
No related merge requests found
Pipeline #18906 passed
......@@ -107,8 +107,13 @@ ELSE()
SET(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/dartflo" CACHE STRING "Install location" FORCE)
ENDIF()
ENDIF()
IF(UNIX AND NOT APPLE)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}")
IF(UNIX)
IF(APPLE)
SET(CMAKE_INSTALL_RPATH "@loader_path")
ELSE()
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}")
ENDIF()
ENDIF()
# -- Sub directories
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment