diff --git a/CMakeLists.txt b/CMakeLists.txt index 772256f84a..bc9e12c91d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,8 @@ option(OPENMC_USE_LIBMESH "Enable support for libMesh unstructured mesh tall # Set build configuration to Release if not set #=============================================================================== -if (NOT CMAKE_BUILD_TYPE) +if(NOT CMAKE_BUILD_TYPE) + message(STATUS "No build type selected, defaulting to RelWithDebInfo") set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Choose the type of build" FORCE) endif() diff --git a/docs/source/usersguide/install.rst b/docs/source/usersguide/install.rst index dcf55948cc..42258b0864 100644 --- a/docs/source/usersguide/install.rst +++ b/docs/source/usersguide/install.rst @@ -352,7 +352,7 @@ OPENMC_ENABLE_COVERAGE Compile and link code instrumented for coverage analysis. This is typically used in conjunction with gcov_. (Default: off) -To set any of these options (e.g. turning on profiling), the following form +To set any of these options (e.g., turning on profiling), the following form should be used: .. code-block:: sh