mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
build/cmake: link generated bindings to aux_util
This commit is contained in:
parent
cffd009fe9
commit
fa79451858
|
@ -1,6 +1,8 @@
|
||||||
# Copyright 2019-2020, Collabora, Ltd.
|
# Copyright 2019-2020, Collabora, Ltd.
|
||||||
# SPDX-License-Identifier: BSL-1.0
|
# SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
|
add_subdirectory(bindings)
|
||||||
|
|
||||||
set(ANDROID_SOURCE_FILES
|
set(ANDROID_SOURCE_FILES
|
||||||
android/android_ahardwarebuffer_allocator.c
|
android/android_ahardwarebuffer_allocator.c
|
||||||
android/android_ahardwarebuffer_allocator.h
|
android/android_ahardwarebuffer_allocator.h
|
||||||
|
@ -213,7 +215,7 @@ target_include_directories(aux_math SYSTEM
|
||||||
|
|
||||||
# Util library.
|
# Util library.
|
||||||
add_library(aux_util STATIC ${UTIL_SOURCE_FILES})
|
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
|
# for u_device
|
||||||
target_link_libraries(aux_util PUBLIC aux_math)
|
target_link_libraries(aux_util PUBLIC aux_math)
|
||||||
if(XRT_HAVE_JPEG)
|
if(XRT_HAVE_JPEG)
|
||||||
|
@ -309,4 +311,3 @@ if(ANDROID)
|
||||||
target_link_libraries(aux_vk PUBLIC aux_android)
|
target_link_libraries(aux_vk PUBLIC aux_android)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(bindings)
|
|
||||||
|
|
Loading…
Reference in a new issue