mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
t/oxr: Fix linking in absence of SDL2
This commit is contained in:
parent
286e11921c
commit
5c830f16b2
|
@ -72,7 +72,6 @@ if(BUILD_WITH_SDL2)
|
||||||
|
|
||||||
target_link_libraries(${RUNTIME_TARGET} PUBLIC
|
target_link_libraries(${RUNTIME_TARGET} PUBLIC
|
||||||
${SDL2_LIBRARIES}
|
${SDL2_LIBRARIES}
|
||||||
X11 # HACK HACK HACK HACK
|
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(${RUNTIME_TARGET} PRIVATE
|
target_sources(${RUNTIME_TARGET} PRIVATE
|
||||||
|
@ -81,6 +80,11 @@ if(BUILD_WITH_SDL2)
|
||||||
../../../external/imgui/imgui_impl_sdl.h
|
../../../external/imgui/imgui_impl_sdl.h
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
if(BUILD_WITH_XCB AND BUILD_WITH_XLIB)
|
||||||
|
target_link_libraries(${RUNTIME_TARGET} PUBLIC
|
||||||
|
${X11_X11_LIB}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue