CMake build: enable optimization

This commit is contained in:
Henrik Rydgård 2012-12-25 10:25:14 +01:00
parent d9cd067f5a
commit b5b13256b6

View File

@ -109,6 +109,7 @@ endif()
if(NOT MSVC)
# Disable some warnings
add_definitions(-O2)
add_definitions(-Wno-multichar)
add_definitions(-fno-strict-aliasing)
if(NOT APPLE)