This commit is contained in:
Green Sky 2023-07-25 22:47:22 +02:00
parent b8e444eaa8
commit e4d2987c54
No known key found for this signature in database
3 changed files with 13 additions and 0 deletions

View File

@ -12,3 +12,5 @@ add_subdirectory(./toxcore)
add_subdirectory(./solanaceae_toxcore) add_subdirectory(./solanaceae_toxcore)
add_subdirectory(./solanaceae_tox) add_subdirectory(./solanaceae_tox)
add_subdirectory(./sdl)

9
external/sdl/CMakeLists.txt vendored Normal file
View 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)

View File

@ -16,6 +16,8 @@ target_link_libraries(tomato PUBLIC
solanaceae_tox_contacts solanaceae_tox_contacts
solanaceae_tox_messages solanaceae_tox_messages
SDL3::SDL3
#imgui #imgui
#imgui_backend_opengl3 #imgui_backend_opengl3
) )