From 9e8598fb1ca359143600d6bb2e8b317126a86bcc Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 16 May 2020 20:59:10 +0100 Subject: Upgrade to C++17 [CMake] (#4717) * Make our CMake slightly less insane --- src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/Simulator/IncrementalRedstoneSimulator') 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() - -- cgit v1.2.3