mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 20:29:47 +00:00
13 lines
326 B
CMake
13 lines
326 B
CMake
|
|
FUNCTION(add_darling_bundle name loader)
|
|
add_darling_library(${name} ${ARGN})
|
|
set_property(TARGET ${name} APPEND_STRING PROPERTY
|
|
LINK_FLAGS " -Wl,-bundle ")
|
|
|
|
if (loader)
|
|
set_property(TARGET ${name} APPEND_STRING PROPERTY
|
|
LINK_FLAGS " -Wl,-bundle_loader,${loader} ")
|
|
endif (loader)
|
|
ENDFUNCTION(add_darling_bundle)
|
|
|