zdoom-macos-deps/deps/cmake/share/cmake-3.25/Modules/Platform/DragonFly.cmake

11 lines
412 B
CMake
Raw Normal View History

2021-07-25 09:55:31 +00:00
# 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)
2023-01-10 14:42:48 +00:00
set(BSD "DragonFlyBSD")
2021-07-25 09:55:31 +00: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,")