aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-23 19:57:44 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-23 19:57:44 +0200
commitedbb6c892299e3b7f93638abcc9e55b2cfce2358 (patch)
treed9c306af19636f5c757397ec1c1a157a93c12f0c /src/CMakeLists.txt
parent1b96c6e3c57b9d1dc5fb02cbd24b625d7f7f5b05 (diff)
parenteaa05e7a981b0f581f5393882e4753d9294a3dba (diff)
merge with niels/rendering
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 446433c..b60a0cd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,6 +8,7 @@ set(CMAKE_BUILD_TYPE Debug)
project(crepe C CXX)
find_package(SDL2 REQUIRED)
+find_package(SDL2_image REQUIRED)
find_package(SoLoud REQUIRED)
find_package(GTest REQUIRED)
@@ -20,7 +21,8 @@ target_include_directories(crepe
target_link_libraries(crepe
PRIVATE soloud
- PRIVATE SDL2
+ PUBLIC SDL2
+ PUBLIC SDL2_image
)
add_subdirectory(crepe)