mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
tests: Fix compile with SDL2
This happens on certain old version of SDL2 where SDL2_LIBRARIES isn't a magical target thingy.
This commit is contained in:
parent
b09aa79f4a
commit
29a43797fc
|
@ -96,4 +96,5 @@ if(_have_opengl_test)
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
tests_comp_client_opengl PRIVATE comp_client comp_mock aux_ogl ${SDL2_LIBRARIES}
|
tests_comp_client_opengl PRIVATE comp_client comp_mock aux_ogl ${SDL2_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
target_include_directories(tests_comp_client_opengl PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue