Default build is release.
This commit is contained in:
parent
2511a11c72
commit
1ca22e1aa4
@ -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}")
|
||||||
|
Loading…
Reference in New Issue
Block a user