summaryrefslogtreecommitdiff
path: root/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-08-27 23:05:40 -0400
committerRye <rye@alchemyviewer.org>2025-08-27 23:05:40 -0400
commit536c821c091be7020c614857e1fd220203f6ab23 (patch)
treecdf0bfd2d4c258624b643b4a95561dd3567f61ca /indra/cmake/00-Common.cmake
parente629bf05d6212613083c8ccb2858085926f38902 (diff)
MacOS companion changes for dullahan 1.21 including package structure and linkage fixes
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r--indra/cmake/00-Common.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index c895f42362..5943e0b573 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -162,6 +162,9 @@ endif (LINUX)
if (DARWIN)
+ # Use rpath loading on macos
+ set(CMAKE_MACOSX_RPATH TRUE)
+
# Warnings should be fatal -- thanks, Nicky Perian, for spotting reversed default
set(CLANG_DISABLE_FATAL_WARNINGS OFF)
set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first")