Permalink
Browse files

Added O3 optimization flag

  • Loading branch information...
1 parent 533b2de commit 4b35a6dd65dd04ced573d16b6364f42f8c349455 @bmcdorman bmcdorman committed Mar 19, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
View
@@ -35,6 +35,8 @@ ELSEIF(UNIX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
ENDIF()
+add_definitions(-O3)
+
ADD_LIBRARY(kovan SHARED ${SOURCES})
IF(NOT WIN32)
TARGET_LINK_LIBRARIES(kovan pthread opencv_core opencv_highgui opencv_imgproc zbar)

0 comments on commit 4b35a6d

Please sign in to comment.