forked from Green-Sky/tomato
add sdl
This commit is contained in:
parent
b8e444eaa8
commit
e4d2987c54
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
@ -12,3 +12,5 @@ add_subdirectory(./toxcore)
|
||||
add_subdirectory(./solanaceae_toxcore)
|
||||
add_subdirectory(./solanaceae_tox)
|
||||
|
||||
add_subdirectory(./sdl)
|
||||
|
||||
|
9
external/sdl/CMakeLists.txt
vendored
Normal file
9
external/sdl/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
||||
|
||||
set(SDL_SHARED OFF CACHE INTERNAL "")
|
||||
set(SDL_STATIC ON CACHE INTERNAL "")
|
||||
#TODO: pic ?
|
||||
|
||||
add_subdirectory(./SDL EXCLUDE_FROM_ALL)
|
||||
#add_subdirectory(./SDL)
|
||||
|
@ -16,6 +16,8 @@ target_link_libraries(tomato PUBLIC
|
||||
solanaceae_tox_contacts
|
||||
solanaceae_tox_messages
|
||||
|
||||
SDL3::SDL3
|
||||
|
||||
#imgui
|
||||
#imgui_backend_opengl3
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user