diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/md5/CMakeLists.txt | 11 | ||||
-rw-r--r-- | src/CMakeLists.txt | 3 |
3 files changed, 14 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d262ecb5c..f8c40b973 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ add_subdirectory(lib/tolua++/) add_subdirectory(lib/sqlite/) add_subdirectory(lib/expat/) add_subdirectory(lib/luaexpat/) +add_subdirectory(lib/md5/) #TODo: set -Wall -Werror -Wextra set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}") diff --git a/lib/md5/CMakeLists.txt b/lib/md5/CMakeLists.txt new file mode 100644 index 000000000..8ba09a0dd --- /dev/null +++ b/lib/md5/CMakeLists.txt @@ -0,0 +1,11 @@ + +cmake_minimum_required (VERSION 2.6) +project (md5) + +include_directories ("${PROJECT_SOURCE_DIR}/../../src/") + +file(GLOB SOURCE + "*.cpp" +) + +add_library(md5 ${SOURCE}) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bdb1a8a57..31c0e564a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,4 +34,5 @@ add_executable(../MCServer/MCServer ${SOURCE}) target_link_libraries(../MCServer/MCServer OSSupport HTTPServer iniFile Bindings Items Blocks) target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp) -target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua BlockEntities luaexpat) +target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua BlockEntities) +target_link_libraries(../MCServer/MCServer md5 luaexpat) |