aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-10 07:49:38 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-10 07:49:38 +0200
commit163c9e3eea437daa8ef6007fbdf2f91470066cbf (patch)
treee672c00d9b874c428f235075b77e4e3b4f885dc6 /src
parent127e457dda1a1c7b32315a920c80aa4c13ddb840 (diff)
fix for build
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/crepe/CMakeLists.txt1
-rw-r--r--src/example/CMakeLists.txt6
3 files changed, 2 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f6afdc0..446433c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -36,5 +36,3 @@ target_link_libraries(test_main
PRIVATE gtest_main
PUBLIC crepe
)
-
-add_subdirectory(crepe)
diff --git a/src/crepe/CMakeLists.txt b/src/crepe/CMakeLists.txt
index a02e991..9c65e1e 100644
--- a/src/crepe/CMakeLists.txt
+++ b/src/crepe/CMakeLists.txt
@@ -3,7 +3,6 @@ target_sources(crepe PUBLIC
Asset.cpp
Sound.cpp
SoundContext.cpp
- main.cpp
Particle.cpp
ParticleEmitter.cpp
ParticleSystem.cpp
diff --git a/src/example/CMakeLists.txt b/src/example/CMakeLists.txt
index f66e08a..36ceba1 100644
--- a/src/example/CMakeLists.txt
+++ b/src/example/CMakeLists.txt
@@ -15,7 +15,5 @@ endfunction()
add_example(audio_internal)
add_example(components_internal)
add_example(script)
-
-add_executable(particel EXCLUDE_FROM_ALL particel.cpp)
-target_link_libraries(particel PUBLIC crepe)
-
+add_example(particel)
+target_link_libraries(particel PUBLIC SDL2)