View Single Post
  #42  
Old 01-20-2013, 05:41 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Try this patch:
Code:
Index: world/CMakeLists.txt
===================================================================
--- world/CMakeLists.txt        (revision 2433)
+++ world/CMakeLists.txt        (working copy)
@@ -67,6 +67,10 @@

 ADD_DEFINITIONS(-DWORLD)

+IF(EQEMU_ENABLE_BOTS)
+       ADD_DEFINITIONS(-DBOTS)
+ENDIF(EQEMU_ENABLE_BOTS)
+
 TARGET_LINK_LIBRARIES(world Common ${PERL_LIBRARY} debug ${MySQL_LIBRARY_DEBUG} optimized ${MySQL_LIBRARY_RELEASE})

 IF(MSVC)
i.e.

Add:
Code:
IF(EQEMU_ENABLE_BOTS)
       ADD_DEFINITIONS(-DBOTS)
ENDIF(EQEMU_ENABLE_BOTS)
After ADD_DEFINITIONS(-DWORLD) in the world/CMakeLists.txt file
Reply With Quote