CMakeLists: enable optimization: -O3
authorFelipe Barriga Richards <spam@felipebarriga.cl>
Thu, 16 Feb 2017 19:22:14 +0000 (16:22 -0300)
committerFelipe Barriga Richards <spam@felipebarriga.cl>
Thu, 16 Feb 2017 19:22:14 +0000 (16:22 -0300)
CMakeLists.txt

index 9f2d870c2ebc54719578cdaf18addb5deaf36d29..0ebd0b2b041968dd6e36838a354c3df9d2bf4f60 100644 (file)
@@ -46,6 +46,8 @@ add_definitions (-D_FILE_OFFSET_BITS=64)
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/")
 
+set(CMAKE_C_FLAGS "-O3")
+
 option(ENABLE_CODECOVERAGE "Enable code coverage testing support" )
 if(ENABLE_CODECOVERAGE)
     include (CodeCoverage)