https://github.com/Kitware/CMake
Raw File
Tip revision: 1e2e12889b3550713cfcb86a9367c3046a6f56e9 authored by Brad King on 07 February 2019, 11:51:28 UTC
Merge branch 'cpack-ifw-error-wording' into release-3.14
Tip revision: 1e2e128
DragonFly.cmake
# 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,")
back to top