1# DragonFly BSD was forked from FreeBSD and is still very close to it 2# http://www.dragonflybsd.org 3# see http://archive.netbsd.se/?ml=dfbsd-users&a=2007-07&m=4678361 4 5include(Platform/FreeBSD) 6 7# DragonFly BSD requires -z origin to enable $ORIGIN expansion in RPATH. 8# This is not required for FreeBSD since 10.2-RELEASE. 9set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-z,origin,-rpath,") 10