Skip to content

Commit e715635

Browse files
committed
[cmake] default to RelWithDebInfo instead of unsupported MinSizeRel
1 parent e8817fb commit e715635

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ project(pymor_dealii)
44

55
# Set a default build configuration if none is specified. 'MinSizeRel' produces the smallest binaries
66
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
7-
message(STATUS "Setting build type to 'MinSizeRel' as none was specified.")
8-
set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "Choose the type of build." FORCE)
9-
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release"
10-
"MinSizeRel" "RelWithDebInfo")
7+
message(STATUS "Setting build type to 'RelWithDebInfo' as none was specified.")
8+
set(CMAKE_BUILD_TYPE RelWithDebInfo STRING "Choose the type of build." FORCE)
119
endif()
1210
# Add a CMake parameter for choosing a desired Python version
1311
set(PYBIND11_PYTHON_VERSION "3" CACHE STRING "Python version to use for compiling the example library")

0 commit comments

Comments
 (0)