mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #1309 from heinrich5991/pr_ddnet_cmake_default_buildtype
Debug mode should only be default if DEV is set, release otherwise
This commit is contained in:
commit
7fefcb58b2
|
@ -81,7 +81,7 @@ option(DEV "Don't generate stuff necessary for packaging" OFF)
|
|||
|
||||
# Set the default build type to Release
|
||||
if(NOT(CMAKE_BUILD_TYPE))
|
||||
if(DEV)
|
||||
if(NOT(DEV))
|
||||
set(CMAKE_BUILD_TYPE Release)
|
||||
else()
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
|
|
Loading…
Reference in a new issue