mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
don't bubble up hifi libraries since they are static
This commit is contained in:
parent
e4d01d269c
commit
0449660f66
2 changed files with 6 additions and 3 deletions
|
@ -22,8 +22,8 @@ macro(LINK_HIFI_LIBRARIES TARGET)
|
||||||
|
|
||||||
add_dependencies(${TARGET} ${HIFI_LIBRARY})
|
add_dependencies(${TARGET} ${HIFI_LIBRARY})
|
||||||
|
|
||||||
# link the actual library
|
# link the actual library - it is static so don't bubble it up
|
||||||
list(APPEND ${TARGET}_LIBRARIES_TO_LINK ${HIFI_LIBRARY})
|
target_link_libraries(${TARGET} ${HIFI_LIBRARY})
|
||||||
|
|
||||||
# ask the library what its dynamic dependencies are and link them
|
# ask the library what its dynamic dependencies are and link them
|
||||||
get_target_property(LINKED_TARGET_DEPENDENCY_LIBRARIES ${HIFI_LIBRARY} DEPENDENCY_LIBRARIES)
|
get_target_property(LINKED_TARGET_DEPENDENCY_LIBRARIES ${HIFI_LIBRARY} DEPENDENCY_LIBRARIES)
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
set(TARGET_NAME json2bitstream)
|
set(TARGET_NAME json2bitstream)
|
||||||
setup_hifi_project(${TARGET_NAME})
|
setup_hifi_project(${TARGET_NAME})
|
||||||
|
|
||||||
|
# link any shared dependencies
|
||||||
|
link_shared_dependencies_to_target(${TARGET_NAME})
|
Loading…
Reference in a new issue