Skip to content

Commit

Permalink
added O2 option on CMakeList
Browse files Browse the repository at this point in the history
  • Loading branch information
kmyi committed Oct 1, 2015
1 parent e1f1904 commit 62ca63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++/Lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set(SRCS src/libTILDE.cpp src/NonMaxSup.cpp)
#option(WITH_TEST_STATIC "Build Generator tests" OFF)

set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC -O2") #added O3
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)

Expand Down

0 comments on commit 62ca63b

Please sign in to comment.