cmake/Modules/Platform/DragonFly.cmake

11 lines
412 B
CMake
Raw Normal View History

# 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
2013-03-16 19:13:01 +02:00
include(Platform/FreeBSD)
2022-11-16 20:14:03 +01:00
set(BSD "DragonFlyBSD")
2019-11-11 23:01:05 +01:00
# 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,")