aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-09 20:01:45 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-09 20:01:45 +0200
commit97621ae53dfc3434cd97e45266bd4f4ac2ef49e1 (patch)
tree469e73bafb6f9d1c2426ddcf4f79163f480f89a1 /src
parent2884c56b066fcafb4f0042799f8a16ea3b238d2a (diff)
added sdl2 include
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f11402a..e63c1f9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -9,6 +9,7 @@ add_compile_definitions(DEBUG)
add_subdirectory(../lib/soloud soloud)
add_subdirectory(../lib/googletest googletest)
+add_subdirectory(../lib/sdl2 sdl2)
project(crepe C CXX)
@@ -22,6 +23,7 @@ target_include_directories(crepe
# TODO: libraries should be linked as PRIVATE
target_link_libraries(crepe
PUBLIC soloud
+ PUBLIC sdl2
)
add_subdirectory(crepe)
@@ -38,4 +40,4 @@ target_link_libraries(test_main
PUBLIC crepe
)
-add_subdirectory(crepe) \ No newline at end of file
+add_subdirectory(crepe)