Commit 26fb7603 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed typo #1896

parent 07658aeb
......@@ -4,13 +4,13 @@ if (WIN32)
foreach(flags CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_DEBUG)
string(REPLACE "-O3" "-O2" ${flags} "${${flags}}")
endforeach()
endforeach()
endif()
if(CMAKE_COMPILER_IS_GNUC)
foreach(flags CMAKE_C_FLAGS CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_DEBUG)
string(REPLACE "-O3" "-O2" ${flags} "${${flags}}")
endforeach()
endforeach()
endif()
endif()
if(MSVC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment