Skip to content

Commit e5c60cc

Browse files
committed
Project: switch default build type to release
Some distributions do not use release ty avoid building on -O3, causing the simulator si build with all the debug tooling we have (including logs).
1 parent ee88bd7 commit e5c60cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/BuildType.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Source (BSD-3) https://github.com/openchemistry/tomviz/blob/master/cmake/BuildType.cmake
22

33
# Set a default build type if none was specified
4-
set(default_build_type "Debug")
4+
set(default_build_type "Release")
55

66
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
77
message(STATUS "Setting build type to '${default_build_type}' as none was specified.")

0 commit comments

Comments
 (0)