Skip to content

Commit 8d9e13b

Browse files
committed
取消优化
1 parent 20269f1 commit 8d9e13b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
1313
add_definitions(-DMSVC)
1414
endif ()
1515

16-
if (CMAKE_BUILD_TYPE STREQUAL "Release" )
17-
if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
18-
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNDEBUG -O2")
19-
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNDEBUG -O2")
20-
endif ()
21-
endif()
22-
2316
add_subdirectory(LuaParser)
2417
add_subdirectory(CodeService)
2518
add_subdirectory(Util)

0 commit comments

Comments
 (0)