Skip to content

Commit

Permalink
Restore the CMAKE_BUILD_TYPE STRINGS property.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpkfft committed Jan 7, 2025
1 parent edbb546 commit 41e050c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ addition, binding code may run slowly and produce large binaries.
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY VALUE Release)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()
Finding nanobind
Expand Down

0 comments on commit 41e050c

Please sign in to comment.