From 166eb7614f2d54ed7f02fcbab16b3c47a0c86a38 Mon Sep 17 00:00:00 2001 From: BenDol Date: Wed, 2 Apr 2014 03:04:10 +1300 Subject: [PATCH] Fix accidental cmake changes. --- src/client/CMakeLists.txt | 2 +- src/framework/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 7c97f33e..6e012ef2 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -5,7 +5,7 @@ endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6) # client options add_definitions(-DCLIENT) -option(BOT_PROTECTION "Enable bot protection" OFF) +option(BOT_PROTECTION "Enable bot protection" ON) if(BOT_PROTECTION) add_definitions(-DBOT_PROTECTION) message(STATUS "Bot protection: ON") diff --git a/src/framework/CMakeLists.txt b/src/framework/CMakeLists.txt index 82e4cc5b..17af48ae 100644 --- a/src/framework/CMakeLists.txt +++ b/src/framework/CMakeLists.txt @@ -154,7 +154,7 @@ set(BUILD_REVISION "0" CACHE "Git revision string (intended for releases)" STRIN # default build type if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE "Debug") + set(CMAKE_BUILD_TYPE "RelWithDebInfo") endif() if(WIN32)