diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-08-13 16:13:36 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-09-01 14:17:00 +1000 |
commit | f8573a7247e41cb5c1c7d738a898f5a88c40d348 (patch) | |
tree | 96019353ed644712d0b6d954954b8204d60384fd /cmake/scripts | |
parent | 241102716b083c6bdef68306e21a1bcc6280fcc6 (diff) |
[cmake] wayland protocols generation explicit dependency of lib${APP_NAME_LC}
Diffstat (limited to 'cmake/scripts')
-rw-r--r-- | cmake/scripts/linux/ExtraTargets.cmake | 3 | ||||
-rw-r--r-- | cmake/scripts/webos/ExtraTargets.cmake | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cmake/scripts/linux/ExtraTargets.cmake b/cmake/scripts/linux/ExtraTargets.cmake index 9be92f19d4..62c6a400b1 100644 --- a/cmake/scripts/linux/ExtraTargets.cmake +++ b/cmake/scripts/linux/ExtraTargets.cmake @@ -34,4 +34,7 @@ if("wayland" IN_LIST CORE_PLATFORM_NAME_LC) # Dummy target for dependencies add_custom_target(generate-wayland-extra-protocols DEPENDS wayland-extra-protocols.hpp) + # ToDo: turn this into a TARGET OBJECT. For now, a custum target doesnt play nice with + # our PLATFORM_GLOBAL_TARGET_DEPS usage in macros + add_dependencies(lib${APP_NAME_LC} generate-wayland-extra-protocols) endif() diff --git a/cmake/scripts/webos/ExtraTargets.cmake b/cmake/scripts/webos/ExtraTargets.cmake index 6eec896781..3380c6a3be 100644 --- a/cmake/scripts/webos/ExtraTargets.cmake +++ b/cmake/scripts/webos/ExtraTargets.cmake @@ -7,3 +7,6 @@ add_custom_command(OUTPUT "${WAYLAND_EXTRA_PROTOCOL_GENERATED_DIR}/wayland-webos DEPENDS "${WAYLANDPP_SCANNER}" ${WEBOS_PROTOCOL_XMLS} COMMENT "Generating wayland-webos C++ wrappers") add_custom_target(generate-wayland-webos-protocols DEPENDS wayland-webos-protocols.hpp) +# ToDo: turn this into a TARGET OBJECT. For now, a custum target doesnt play nice with +# our PLATFORM_GLOBAL_TARGET_DEPS usage in macros +add_dependencies(lib${APP_NAME_LC} generate-wayland-webos-protocols) |