Skip to content

Commit

Permalink
Set -O3 compiler optimization for Release build in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSchneider42 committed Jun 3, 2024
1 parent 90cc67e commit 8267b13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ file(READ "VERSION" version)
project(franky VERSION ${version} LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")

include(GNUInstallDirs)

Expand Down

0 comments on commit 8267b13

Please sign in to comment.