summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 01:55:01 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 01:55:01 +0100
commit95c7407dd37b630b03b5a0786e2693dfed598ea3 (patch)
treeeb1269bfcb01e4de09a508d8a9484de8db0f079c
parentadded expat as lua bindings dependincy (diff)
downloadcuberite-95c7407dd37b630b03b5a0786e2693dfed598ea3.tar
cuberite-95c7407dd37b630b03b5a0786e2693dfed598ea3.tar.gz
cuberite-95c7407dd37b630b03b5a0786e2693dfed598ea3.tar.bz2
cuberite-95c7407dd37b630b03b5a0786e2693dfed598ea3.tar.lz
cuberite-95c7407dd37b630b03b5a0786e2693dfed598ea3.tar.xz
cuberite-95c7407dd37b630b03b5a0786e2693dfed598ea3.tar.zst
cuberite-95c7407dd37b630b03b5a0786e2693dfed598ea3.zip
-rw-r--r--CMakeLists.txt1
-rw-r--r--lib/md5/CMakeLists.txt11
-rw-r--r--src/CMakeLists.txt3
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)