fixed cmake

This commit is contained in:
Yehonal
2017-12-21 00:48:33 +01:00
parent 17332304fd
commit 685a89e03f
34 changed files with 342 additions and 419 deletions
+4 -1
View File
@@ -12,6 +12,7 @@ if( USE_COREPCH )
include_directories(${CMAKE_CURRENT_BINARY_DIR})
endif()
file(GLOB_RECURSE sources_Collision Collision/*.cpp Collision/*.h)
file(GLOB_RECURSE sources_Configuration Configuration/*.cpp Configuration/*.h)
file(GLOB_RECURSE sources_Cryptography Cryptography/*.cpp Cryptography/*.h)
file(GLOB_RECURSE sources_Database Database/*.cpp Database/*.h)
@@ -40,6 +41,7 @@ endif()
set(shared_STAT_SRCS
${shared_STAT_SRCS}
${sources_Collision}
${sources_Configuration}
${sources_Cryptography}
${sources_Database}
@@ -62,6 +64,7 @@ include_directories(
${CMAKE_SOURCE_DIR}/deps/utf8cpp
${CMAKE_SOURCE_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/Collision
${CMAKE_CURRENT_SOURCE_DIR}/Configuration
${CMAKE_CURRENT_SOURCE_DIR}/Cryptography
${CMAKE_CURRENT_SOURCE_DIR}/Database
@@ -72,7 +75,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/Packets
${CMAKE_CURRENT_SOURCE_DIR}/Threading
${CMAKE_CURRENT_SOURCE_DIR}/Utilities
${CMAKE_SOURCE_DIR}/src/game/Entities/Object
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object
${ACE_INCLUDE_DIR}
${MYSQL_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}