From cd2de2c388229f5e5604372fd2f4a0d1eab6e0c1 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 31 Jan 2024 13:02:54 +0800 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5ff9e49..1e154f41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ endif() if(MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc /utf-8 /O2") else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -s -O2") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -O2") # disable -Wshorten-64-to-32 for apple if(APPLE)