From fa794518584e9cec494106a001052aede696bbe2 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Wed, 31 Mar 2021 02:57:10 +0200 Subject: [PATCH] build/cmake: link generated bindings to aux_util --- src/xrt/auxiliary/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xrt/auxiliary/CMakeLists.txt b/src/xrt/auxiliary/CMakeLists.txt index b64665df1..6cd78102b 100644 --- a/src/xrt/auxiliary/CMakeLists.txt +++ b/src/xrt/auxiliary/CMakeLists.txt @@ -1,6 +1,8 @@ # Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 +add_subdirectory(bindings) + set(ANDROID_SOURCE_FILES android/android_ahardwarebuffer_allocator.c android/android_ahardwarebuffer_allocator.h @@ -213,7 +215,7 @@ target_include_directories(aux_math SYSTEM # Util library. add_library(aux_util STATIC ${UTIL_SOURCE_FILES}) -target_link_libraries(aux_util PUBLIC aux-includes xrt-pthreads) +target_link_libraries(aux_util PUBLIC aux-includes xrt-pthreads aux_generated_bindings) # for u_device target_link_libraries(aux_util PUBLIC aux_math) if(XRT_HAVE_JPEG) @@ -309,4 +311,3 @@ if(ANDROID) target_link_libraries(aux_vk PUBLIC aux_android) endif() -add_subdirectory(bindings)