don't bubble up hifi libraries since they are static

This commit is contained in:
Stephen Birarda 2014-08-08 11:52:41 -07:00
parent e4d01d269c
commit 0449660f66
2 changed files with 6 additions and 3 deletions

View file

@ -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)

View file

@ -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})