mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
cmake: Make sure st_oxr exposes its optional vulkan/gl dependencies
Fixes builds of tests on Windows
This commit is contained in:
parent
2b6b1ad70b
commit
2c87f57ad1
|
@ -89,10 +89,10 @@ target_link_libraries(st_oxr PRIVATE
|
|||
aux_os
|
||||
)
|
||||
if(XRT_HAVE_VULKAN)
|
||||
target_link_libraries(st_oxr PRIVATE Vulkan::Vulkan)
|
||||
target_link_libraries(st_oxr PUBLIC Vulkan::Vulkan)
|
||||
endif()
|
||||
if(XRT_HAVE_OPENGL OR XRT_HAVE_OPENGLES)
|
||||
target_link_libraries(st_oxr PRIVATE aux_ogl)
|
||||
target_link_libraries(st_oxr PUBLIC aux_ogl)
|
||||
endif()
|
||||
if(ANDROID)
|
||||
target_link_libraries(st_oxr PRIVATE aux_android)
|
||||
|
|
Loading…
Reference in a new issue