fix wrong RSA
This commit is contained in:
parent
ee5b00c1a6
commit
ffa94f10b6
|
@ -6,12 +6,15 @@ ENDIF(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||||
# otclient options
|
# otclient options
|
||||||
OPTION(BOT_PROTECTION "Enable bot protection" ON)
|
OPTION(BOT_PROTECTION "Enable bot protection" ON)
|
||||||
SET(PROTOCOL 860 CACHE "Protocol version" STRING)
|
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})
|
ADD_DEFINITIONS(-DPROTOCOL=${PROTOCOL})
|
||||||
MESSAGE(STATUS "Protocol: " ${PROTOCOL})
|
MESSAGE(STATUS "Protocol: " ${PROTOCOL})
|
||||||
|
|
||||||
IF(CIPSOFT_RSA)
|
IF(CIPSOFT_RSA)
|
||||||
ADD_DEFINITIONS(-DCIPSOFT_RSA)
|
ADD_DEFINITIONS(-DCIPSOFT_RSA)
|
||||||
|
MESSAGE(STATUS "RSA: CipSoft")
|
||||||
|
ELSE()
|
||||||
|
MESSAGE(STATUS "RSA: OTServ")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF(BOT_PROTECTION)
|
IF(BOT_PROTECTION)
|
||||||
|
|
Loading…
Reference in New Issue