diff options
Diffstat (limited to 'src/Simulator/CMakeLists.txt')
-rw-r--r-- | src/Simulator/CMakeLists.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Simulator/CMakeLists.txt b/src/Simulator/CMakeLists.txt index a8efc988c..2acaa2031 100644 --- a/src/Simulator/CMakeLists.txt +++ b/src/Simulator/CMakeLists.txt @@ -1,5 +1,6 @@ +target_sources( + ${CMAKE_PROJECT_NAME} PRIVATE -SET (SRCS DelayedFluidSimulator.cpp FireSimulator.cpp FloodyFluidSimulator.cpp @@ -9,9 +10,7 @@ SET (SRCS SimulatorManager.cpp VanillaFluidSimulator.cpp VaporizeFluidSimulator.cpp -) -SET (HDRS DelayedFluidSimulator.h FireSimulator.h FloodyFluidSimulator.h @@ -25,8 +24,3 @@ SET (HDRS VanillaFluidSimulator.h VaporizeFluidSimulator.h ) - -if(NOT MSVC) - add_library(Simulator ${SRCS} ${HDRS}) - target_link_libraries(Simulator fmt::fmt SQLiteCpp) -endif() |