Skip to content

Commit

Permalink
🔨 Default build type to Release
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierLDff committed Aug 29, 2021
1 parent 0d85845 commit b584c4e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(QOLM_MAIN_PROJECT ON)
endif()

# ──── Default build to Release ────

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE
"Release"
CACHE STRING "Choose Release or Debug" FORCE
)
endif()

# ───── OPTIONS ─────

# General
Expand Down

0 comments on commit b584c4e

Please sign in to comment.