summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/DragonFly.cmake
blob: 994ba7931fba5f0dbb9fcca4e2a10733450f7c29 (plain)
1
2
3
4
5
6
7
8
9
10
# 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)
set(BSD "DragonFlyBSD")

# 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,")