mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
build: add qs_add_link_dependencies
Further inspection as to what libraries actually require which others will be required before this can be used as a hint for shared builds.
This commit is contained in:
6 files changed
+16
-4
No files matched your search
@@ -1,3 +1,12 @@
|
||||
# Adds a dependency hint to the link order, but does not block build on the dependency.
|
||||
function (qs_add_link_dependencies target)
|
||||
set_property(
|
||||
TARGET ${target}
|
||||
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
|
||||
${ARGN}
|
||||
)
|
||||
endfunction()
|
||||
|
||||
function (qs_append_qmldir target text)
|
||||
get_property(qmldir_content TARGET ${target} PROPERTY _qt_internal_qmldir_content)
|
||||
|
||||
|
||||
Reference in new issue
Block a user