summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt b/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt
index 0c2346322..1857a115a 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt
+++ b/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt
@@ -1,9 +1,8 @@
+target_sources(
+ ${CMAKE_PROJECT_NAME} PRIVATE
-set (SRCS
IncrementalRedstoneSimulator.cpp
-)
-set (HDRS
CommandBlockHandler.h
DoorHandler.h
DropSpenserHandler.h
@@ -29,9 +28,3 @@ set (HDRS
PoweredRailHandler.h
PressurePlateHandler.h
)
-
-if(NOT MSVC)
- add_library(IncrementalRedstoneSimulator ${SRCS} ${HDRS})
- target_link_libraries(IncrementalRedstoneSimulator fmt::fmt)
-endif()
-