mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-25 11:01:15 +01: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:
1 parent
b09aa79f4a
commit
29a43797fc
1 file changed
+1
@@ -96,4 +96,5 @@ if(_have_opengl_test)
|
||||
target_link_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()
|
||||
Reference in new issue
Block a user