1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-01 16:32:31 +01:00

Build Release by default

This commit is contained in:
haphzd 2016-06-01 22:01:22 +04:00
parent cd0a11d899
commit 8bb9c388a2

View File

@ -26,6 +26,9 @@ option(TESTS_NODATA "Build tests for no-data testing")
#
# Build configuration
#
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: Debug Release" FORCE)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
add_definitions(-DRW_LINUX)