Fix accidental cmake changes.
This commit is contained in:
parent
8b3f3b11f0
commit
166eb7614f
|
@ -5,7 +5,7 @@ endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||||
|
|
||||||
# client options
|
# client options
|
||||||
add_definitions(-DCLIENT)
|
add_definitions(-DCLIENT)
|
||||||
option(BOT_PROTECTION "Enable bot protection" OFF)
|
option(BOT_PROTECTION "Enable bot protection" ON)
|
||||||
if(BOT_PROTECTION)
|
if(BOT_PROTECTION)
|
||||||
add_definitions(-DBOT_PROTECTION)
|
add_definitions(-DBOT_PROTECTION)
|
||||||
message(STATUS "Bot protection: ON")
|
message(STATUS "Bot protection: ON")
|
||||||
|
|
|
@ -154,7 +154,7 @@ set(BUILD_REVISION "0" CACHE "Git revision string (intended for releases)" STRIN
|
||||||
|
|
||||||
# default build type
|
# default build type
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Debug")
|
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
Loading…
Reference in New Issue