mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Replace release mode conditional with OFFICIAL_BUILD
There are probably going to be situations where we'll want to compile in release mode, but still want the hash and don't want Steam/GOG enabled. So Ethan can use OFFICIAL_BUILD when tagging major versions of the game.
This commit is contained in:
parent
ebe074e308
commit
3f76f5164b
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ SET_PROPERTY(CACHE CUSTOM_LEVEL_SUPPORT PROPERTY STRINGS ENABLED NO_EDITOR DISAB
|
|||
SET(STEAM OFF CACHE BOOL "Use the Steam API")
|
||||
SET(GOG OFF CACHE BOOL "Use the GOG API")
|
||||
|
||||
IF(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
|
||||
SET(OFFICIAL_BUILD OFF CACHE BOOL "Compile an official build of the game")
|
||||
|
||||
IF(OFFICIAL_BUILD)
|
||||
SET(STEAM ON)
|
||||
SET(GOG ON)
|
||||
ELSE()
|
||||
|
|
Loading…
Reference in a new issue