Skip to content

Commit

Permalink
fix default cmake build type
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Jun 25, 2023
1 parent e9c294b commit d86537f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ else()
)
endif()

if(NOT DCMAKE_BUILD_TYPE)
set(DCMAKE_BUILD_TYPE Release)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif()

if(APPLE AND (PROJECT_QUAKESPASM OR PROJECT_SPIKED))
Expand Down

0 comments on commit d86537f

Please sign in to comment.