Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
6 lines
336 B
CMake
6 lines
336 B
CMake
if (NOT CMAKE_BUILD_TYPE)
|
|
message(STATUS "Build type not set, defaulting to Release")
|
|
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
|
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
|
|
endif ()
|
|
message(STATUS "Build type: " ${CMAKE_BUILD_TYPE}) |