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:
Jakob Bornecrantz 2022-09-07 13:54:48 +01:00
parent b09aa79f4a
commit 29a43797fc

View file

@ -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()