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:
parent
cd0a11d899
commit
8bb9c388a2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user