Remove protocol config from cmake
This commit is contained in:
parent
9ad9d88e10
commit
f5c97c8e8b
|
@ -6,10 +6,7 @@ endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
|||
# otclient options
|
||||
add_definitions(-DOTCLIENT)
|
||||
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)
|
||||
add_definitions(-DPROTOCOL=${PROTOCOL})
|
||||
message(STATUS "Protocol: " ${PROTOCOL})
|
||||
|
||||
if(CIPSOFT_RSA)
|
||||
add_definitions(-DCIPSOFT_RSA -DOSTYPE=2)
|
||||
|
|
Loading…
Reference in New Issue