mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2025-07-07 04:36:37 +02:00
cmake: add to LINK_DEPENDS in generate_g1a/g3a, don't override it
This commit is contained in:
parent
b7803a6aed
commit
25794c505d
2 changed files with 6 additions and 3 deletions
|
@ -56,6 +56,8 @@ function(generate_g1a)
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
)
|
)
|
||||||
if(DEFINED G1A_ICON)
|
if(DEFINED G1A_ICON)
|
||||||
set_target_properties("${G1A_TARGET}" PROPERTIES LINK_DEPENDS "${G1A_ICON}")
|
get_target_property(G1A_LDEP "${G1A_TARGET}" LINK_DEPENDS)
|
||||||
|
list(APPEND G1A_LDEP "${G1A_ICON}")
|
||||||
|
set_target_properties("${G1A_TARGET}" PROPERTIES LINK_DEPENDS "${G1A_LDEP}")
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
|
@ -68,7 +68,8 @@ function(generate_g3a)
|
||||||
COMMAND_EXPAND_LISTS
|
COMMAND_EXPAND_LISTS
|
||||||
)
|
)
|
||||||
if(DEFINED G3A_ICONS)
|
if(DEFINED G3A_ICONS)
|
||||||
set_target_properties("${G3A_TARGET}" PROPERTIES
|
get_target_property(G3A_LDEP "${G3A_TARGET}" LINK_DEPENDS)
|
||||||
LINK_DEPENDS "${G3A_ICON1};${G3A_ICON2}")
|
list(APPEND G3A_LDEP "${G3A_ICON1}" "${G3A_ICON2}")
|
||||||
|
set_target_properties("${G3A_TARGET}" PROPERTIES LINK_DEPENDS "${G3A_LDEP}")
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
Loading…
Add table
Reference in a new issue