added md5 as a dependency for bindings
This commit is contained in:
parent
e2549dfcb2
commit
95c7407dd3
@ -18,6 +18,7 @@ add_subdirectory(lib/tolua++/)
|
|||||||
add_subdirectory(lib/sqlite/)
|
add_subdirectory(lib/sqlite/)
|
||||||
add_subdirectory(lib/expat/)
|
add_subdirectory(lib/expat/)
|
||||||
add_subdirectory(lib/luaexpat/)
|
add_subdirectory(lib/luaexpat/)
|
||||||
|
add_subdirectory(lib/md5/)
|
||||||
|
|
||||||
#TODo: set -Wall -Werror -Wextra
|
#TODo: set -Wall -Werror -Wextra
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}")
|
||||||
|
11
lib/md5/CMakeLists.txt
Normal file
11
lib/md5/CMakeLists.txt
Normal file
@ -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})
|
@ -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 OSSupport HTTPServer iniFile Bindings Items Blocks)
|
||||||
target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user