https://github.com/Kitware/CMake
Raw File
Tip revision: b45f9b364382839995c76bc9794bb5ae8fb787b5 authored by Brad King on 01 November 2022, 17:10:48 UTC
CMake 3.25.0-rc3
Tip revision: b45f9b3
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)
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,")
back to top