Default build is release.

This commit is contained in:
Nicolás Ortega Froysa 2018-09-02 11:22:36 +02:00
parent 2511a11c72
commit 1ca22e1aa4
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -23,7 +23,7 @@ set(TARGET_VERSION "1.0-beta")
# Use DEBUG by default # Use DEBUG by default
if(NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "debug") set(CMAKE_BUILD_TYPE "release")
endif() endif()
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE) string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
message(STATUS "Build Type: ${CMAKE_BUILD_TYPE}") message(STATUS "Build Type: ${CMAKE_BUILD_TYPE}")