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:
click
2010-08-07 21:48:20 +02:00
parent f8fe880982
commit 6baf3f9a59
4 changed files with 9 additions and 12 deletions
+1
View File
@@ -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}
)
+1 -1
View File
@@ -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