mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
build: Link aux_util against threads explicitly
This commit is contained in:
parent
8b416da12b
commit
39ede92287
|
@ -177,7 +177,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)
|
||||
target_link_libraries(aux_util PUBLIC aux-includes xrt-pthreads)
|
||||
# for u_device
|
||||
target_link_libraries(aux_util PUBLIC aux_math)
|
||||
if(XRT_HAVE_JPEG)
|
||||
|
@ -218,6 +218,7 @@ if(XRT_HAVE_VULKAN)
|
|||
add_library(aux_vk STATIC ${VK_SOURCE_FILES})
|
||||
target_link_libraries(aux_vk PUBLIC aux-includes)
|
||||
target_link_libraries(aux_vk PUBLIC Vulkan::Vulkan)
|
||||
target_include_directories(aux_vk PUBLIC ${Vulkan_INCLUDE_DIR})
|
||||
if(ANDROID)
|
||||
target_link_libraries(aux_vk PUBLIC ${ANDROID_LIBRARY})
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue