mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 23:26:51 +01:00
Fix accidental cmake changes.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user