Skip to content
Snippets Groups Projects
Commit bf554b9d authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

setup Rpath for MacOS

parent a9c8ecde
No related branches found
No related tags found
No related merge requests found
......@@ -15,3 +15,10 @@ include("@PACKAGE_TARGETS_FILE@")
check_required_components(@PROJECT_NAME_UC@)
## Extra rpath stuff for MacOS
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_INSTALL_RPATH
${CMAKE_INSTALL_RPATH}
"@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@")
message("Podd: set rpath to ${CMAKE_INSTALL_RPATH}")
endif()
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