We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f0c33 commit 2859fc4Copy full SHA for 2859fc4
CMakeLists.txt
@@ -80,7 +80,6 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
80
add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG)
81
elseif (CMAKE_BUILD_TYPE STREQUAL "Release")
82
add_compile_options(-O3 -DNDEBUG -Wall -march=native -mtune=native -fno-trapping-math -fno-math-errno)
83
- add_link_options(-flto)
84
add_compile_definitions(SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_OFF)
85
elseif (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
86
add_compile_options(-O2 -g3 -DNDEBUG -Wall -march=native -mtune=native -fno-omit-frame-pointer -fno-trapping-math -fno-math-errno)
0 commit comments