Buildsystem/CMake: Adjust headerlocations on Windows so that they are correctly detected.
- Remove caching of OpenSSL info (for you, zor!) - Adjust MySQL header-location in a DB-file (haha to Machiavelli, more work for you!) - Add OpenSSL-header location to the shared-library (Fixes build) --HG-- branch : trunk
This commit is contained in:
@@ -92,6 +92,7 @@ include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/server/shared/Threading
|
||||
${CMAKE_SOURCE_DIR}/src/server/shared/Utilities
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
${MYSQL_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
|
||||
Regular → Executable
+1
-1
@@ -29,7 +29,7 @@
|
||||
#ifdef _WIN32
|
||||
#define FD_SETSIZE 1024
|
||||
#include <winsock2.h>
|
||||
#include <mysql/mysql.h>
|
||||
#include <mysql.h>
|
||||
#else
|
||||
#include <mysql.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user