diff options
Diffstat (limited to 'share/cmake-3.17/Modules/Platform/DragonFly.cmake')
-rw-r--r-- | share/cmake-3.17/Modules/Platform/DragonFly.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/cmake-3.17/Modules/Platform/DragonFly.cmake b/share/cmake-3.17/Modules/Platform/DragonFly.cmake new file mode 100644 index 0000000..12e5f3c --- /dev/null +++ b/share/cmake-3.17/Modules/Platform/DragonFly.cmake @@ -0,0 +1,9 @@ +# DragonFly BSD was forked from FreeBSD and is still very close to it +# http://www.dragonflybsd.org +# see http://archive.netbsd.se/?ml=dfbsd-users&a=2007-07&m=4678361 + +include(Platform/FreeBSD) + +# DragonFly BSD requires -z origin to enable $ORIGIN expansion in RPATH. +# This is not required for FreeBSD since 10.2-RELEASE. +set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-z,origin,-rpath,") |