Skip to content

Commit

Permalink
typo fixed: Debug->Release
Browse files Browse the repository at this point in the history
  • Loading branch information
wulitao committed Dec 26, 2021
1 parent 68c9ff2 commit 4742171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cxx/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ string(CONCAT CMAKE_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=0 " ${CMAKE_CXX_FLAGS})
if (CMAKE_BUILD_TYPE MATCHES Debug)
string(CONCAT CMAKE_CXX_FLAGS "-g -O0 " ${CMAKE_CXX_FLAGS})
set(INSTALL_SUBDIR "debug")
else (CMAKE_BUILD_TYPE MATCHES Debug)
else (CMAKE_BUILD_TYPE MATCHES Release)
string(CONCAT CMAKE_CXX_FLAGS "-DNDEBUG -O2 " ${CMAKE_CXX_FLAGS})
set(INSTALL_SUBDIR "release")
endif ()
Expand Down

0 comments on commit 4742171

Please sign in to comment.