Skip to content

Commit 8267b13

Browse files
Set -O3 compiler optimization for Release build in cmake
1 parent 90cc67e commit 8267b13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ file(READ "VERSION" version)
44
project(franky VERSION ${version} LANGUAGES CXX)
55
set(CMAKE_CXX_STANDARD 17)
66
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
7+
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
78

89
include(GNUInstallDirs)
910

0 commit comments

Comments
 (0)