Remove protocol config from cmake

This commit is contained in:
Eduardo Bart 2012-07-26 12:58:35 -03:00
parent 9ad9d88e10
commit f5c97c8e8b
1 changed files with 0 additions and 3 deletions

View File

@ -6,10 +6,7 @@ endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
# otclient options # otclient options
add_definitions(-DOTCLIENT) add_definitions(-DOTCLIENT)
option(BOT_PROTECTION "Enable bot protection" ON) option(BOT_PROTECTION "Enable bot protection" ON)
set(PROTOCOL 860 CACHE "Protocol version" STRING)
option(CIPSOFT_RSA "Use cipsoft RSA to login into original tibia" OFF) option(CIPSOFT_RSA "Use cipsoft RSA to login into original tibia" OFF)
add_definitions(-DPROTOCOL=${PROTOCOL})
message(STATUS "Protocol: " ${PROTOCOL})
if(CIPSOFT_RSA) if(CIPSOFT_RSA)
add_definitions(-DCIPSOFT_RSA -DOSTYPE=2) add_definitions(-DCIPSOFT_RSA -DOSTYPE=2)