aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/Auth/CMakeLists.txt7
-rw-r--r--src/shared/CMakeLists.txt10
-rw-r--r--src/shared/Config/CMakeLists.txt6
-rw-r--r--src/shared/Database/CMakeLists.txt8
-rw-r--r--src/shared/vmap/CMakeLists.txt4
5 files changed, 35 insertions, 0 deletions
diff --git a/src/shared/Auth/CMakeLists.txt b/src/shared/Auth/CMakeLists.txt
index 536853e560e..b6f487465ed 100644
--- a/src/shared/Auth/CMakeLists.txt
+++ b/src/shared/Auth/CMakeLists.txt
@@ -16,4 +16,11 @@ SET(trinityauth_STAT_SRCS
SARC4.h
)
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/src/shared
+ ${CMAKE_SOURCE_DIR}/src/framework
+ ${MYSQL_INCLUDE_DIR}
+)
+
add_library(trinityauth STATIC ${trinityauth_STAT_SRCS})
diff --git a/src/shared/CMakeLists.txt b/src/shared/CMakeLists.txt
index 5349a89f613..1d4ee451440 100644
--- a/src/shared/CMakeLists.txt
+++ b/src/shared/CMakeLists.txt
@@ -23,6 +23,16 @@ SET(shared_STAT_SRCS
WorldPacket.h
SystemConfig.h
)
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/dep/include
+ ${CMAKE_SOURCE_DIR}/dep/include/sockets
+ ${CMAKE_SOURCE_DIR}/src/framework
+ ${CMAKE_SOURCE_DIR}/src/shared
+ ${MYSQL_INCLUDE_DIR}
+)
+
add_library(shared STATIC ${shared_STAT_SRCS})
target_link_libraries(
shared
diff --git a/src/shared/Config/CMakeLists.txt b/src/shared/Config/CMakeLists.txt
index 54c3d80b869..397005586b6 100644
--- a/src/shared/Config/CMakeLists.txt
+++ b/src/shared/Config/CMakeLists.txt
@@ -11,5 +11,11 @@ SET(trinityconfig_STAT_SRCS
ConfigEnv.h
)
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/src/shared
+ ${CMAKE_SOURCE_DIR}/src/framework
+)
+
add_library(trinityconfig STATIC ${trinityconfig_STAT_SRCS})
diff --git a/src/shared/Database/CMakeLists.txt b/src/shared/Database/CMakeLists.txt
index 158a3993d16..9ae0c73f53a 100644
--- a/src/shared/Database/CMakeLists.txt
+++ b/src/shared/Database/CMakeLists.txt
@@ -27,4 +27,12 @@ SET(trinitydatabase_STAT_SRCS
SqlOperations.h
)
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/src/shared
+ ${CMAKE_SOURCE_DIR}/src/shared/Database
+ ${CMAKE_SOURCE_DIR}/src/framework
+ ${MYSQL_INCLUDE_DIR}
+)
+
add_library(trinitydatabase STATIC ${trinitydatabase_STAT_SRCS})
diff --git a/src/shared/vmap/CMakeLists.txt b/src/shared/vmap/CMakeLists.txt
index 9ed30c0b44f..76ba24e55d1 100644
--- a/src/shared/vmap/CMakeLists.txt
+++ b/src/shared/vmap/CMakeLists.txt
@@ -31,5 +31,9 @@ SET(vmaps_STAT_SRCS
VMapTools.h
)
+include_directories(
+ ${CMAKE_SOURCE_DIR}/dep/include/g3dlite
+)
+
add_library(vmaps STATIC ${vmaps_STAT_SRCS})