Skip to content

Commit

Permalink
Set available CMake build types for non-multi-config generators
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF committed Apr 4, 2024
1 parent 90a1bae commit 5feaf01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/cmake/HDFMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ macro (SET_HDF_BUILD_TYPE)
else ()
set (HDF_CFG_NAME "Release")
endif ()
# Set available build types for cmake-gui/ccmake convenience
set_property (CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug" "Release" "RelWithDebInfo" "MinSizeRel" "Developer")
endif ()
endmacro ()

Expand Down

0 comments on commit 5feaf01

Please sign in to comment.