From 16df69514c7d973d97454c3fbecd3fdffef4fbd3 Mon Sep 17 00:00:00 2001 From: womendoushihaoyin Date: Tue, 24 Sep 2024 20:04:21 +0800 Subject: [PATCH] fix cmake --- src/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f8d94616a0d..659d03378f1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -120,11 +120,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/osx/Info.plist.in ${CMAKE_CU if (WIN32) add_library(Snapmaker_Orca SHARED Snapmaker_Orca.cpp Snapmaker_Orca.hpp BaseException.cpp BaseException.h StackWalker.cpp StackWalker.h) else () - if (SERVER_ENGINE) - add_executable(Snapmaker_Orca Snapmaker_Orca.cpp Snapmaker_Orca.hpp Engine.cpp Engine.h) - else () - add_executable(Snapmaker_Orca Snapmaker_Orca.cpp Snapmaker_Orca.hpp) - endif () + add_executable(Snapmaker_Orca Snapmaker_Orca.cpp Snapmaker_Orca.hpp) endif () if (MINGW)