fix wrong RSA

This commit is contained in:
Eduardo Bart 2012-05-12 11:45:20 -03:00
parent ee5b00c1a6
commit ffa94f10b6
1 changed files with 4 additions and 1 deletions

View File

@ -6,12 +6,15 @@ ENDIF(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
# otclient options
OPTION(BOT_PROTECTION "Enable bot protection" ON)
SET(PROTOCOL 860 CACHE "Protocol version" STRING)
SET(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)
ADD_DEFINITIONS(-DCIPSOFT_RSA)
MESSAGE(STATUS "RSA: CipSoft")
ELSE()
MESSAGE(STATUS "RSA: OTServ")
ENDIF()
IF(BOT_PROTECTION)