cmake: Make math depend on util

This fixes the build when tracing is enabled.
This commit is contained in:
Jakob Bornecrantz 2021-09-27 15:17:59 +01:00 committed by Moses Turner
parent 5e66533751
commit 73d631c775

View file

@ -218,7 +218,7 @@ endif()
# Math library.
add_library(aux_math STATIC ${MATH_SOURCE_FILES})
target_link_libraries(aux_math PUBLIC aux-includes)
target_link_libraries(aux_math PUBLIC aux-includes aux_util)
# Math files has extra include(s).
target_include_directories(aux_math SYSTEM
@ -253,6 +253,7 @@ if(ANDROID)
target_link_libraries(aux_util PUBLIC ${ANDROID_LOG_LIBRARY})
endif()
# GStreamer library.
if(XRT_HAVE_GST)
add_library(aux_gstreamer STATIC ${GSTREAMER_SOURCE_FILES})