From 73d631c7752a1770249e43b15c3acd39ac9983e6 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 27 Sep 2021 15:17:59 +0100 Subject: [PATCH] cmake: Make math depend on util This fixes the build when tracing is enabled. --- src/xrt/auxiliary/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xrt/auxiliary/CMakeLists.txt b/src/xrt/auxiliary/CMakeLists.txt index 93c3ac9c8..749c8948a 100644 --- a/src/xrt/auxiliary/CMakeLists.txt +++ b/src/xrt/auxiliary/CMakeLists.txt @@ -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})