diff options
author | jaroWMR <jarorutjes07@gmail.com> | 2024-10-01 19:10:24 +0200 |
---|---|---|
committer | jaroWMR <jarorutjes07@gmail.com> | 2024-10-01 19:10:24 +0200 |
commit | bd24f87e18bef29679023ee9a60028f2afdbb470 (patch) | |
tree | aa17d05db8ba6d5f959e676aa2c51c67743108b3 /src/CMakeLists.txt | |
parent | a78f7bbfcdabad9550afe22f615b973b92cb074f (diff) |
particle POC
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 7 |
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 |