mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-08 13:52:40 +02: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})
|
||||
|
||||
# link the actual library
|
||||
list(APPEND ${TARGET}_LIBRARIES_TO_LINK ${HIFI_LIBRARY})
|
||||
# link the actual library - it is static so don't bubble it up
|
||||
target_link_libraries(${TARGET} ${HIFI_LIBRARY})
|
||||
|
||||
# ask the library what its dynamic dependencies are and link them
|
||||
get_target_property(LINKED_TARGET_DEPENDENCY_LIBRARIES ${HIFI_LIBRARY} DEPENDENCY_LIBRARIES)
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
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