aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-01 19:10:24 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-01 19:10:24 +0200
commitbd24f87e18bef29679023ee9a60028f2afdbb470 (patch)
treeaa17d05db8ba6d5f959e676aa2c51c67743108b3 /src/CMakeLists.txt
parenta78f7bbfcdabad9550afe22f615b973b92cb074f (diff)
particle POC
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0090188..b8ed359 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,13 +4,16 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
-# enable debug features
set(CMAKE_BUILD_TYPE Debug)
add_compile_definitions(DEBUG)
project(crepe C CXX)
+find_package(SDL2 REQUIRED)
+include_directories(${SDL2_INCLUDE_DIRS})
+
add_executable(main)
-add_subdirectory(crepe)
+target_link_libraries(main ${SDL2_LIBRARIES})
+add_subdirectory(crepe) \ No newline at end of file