added zlib
This commit is contained in:
parent
d59e4e6a45
commit
5155aa4096
@ -10,6 +10,7 @@ set(CMAKE_BUILD_TYPE "Release")
|
|||||||
add_subdirectory(lib/inifile/)
|
add_subdirectory(lib/inifile/)
|
||||||
add_subdirectory(lib/jsoncpp/)
|
add_subdirectory(lib/jsoncpp/)
|
||||||
add_subdirectory(lib/cryptopp/)
|
add_subdirectory(lib/cryptopp/)
|
||||||
|
add_subdirectory(lib/zlib/)
|
||||||
|
|
||||||
#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}")
|
||||||
|
@ -8,7 +8,6 @@ endif()
|
|||||||
include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
|
include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
|
||||||
|
|
||||||
file(GLOB cryptopp_SRC
|
file(GLOB cryptopp_SRC
|
||||||
"*.h"
|
|
||||||
"*.cpp"
|
"*.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -33,4 +33,4 @@ 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)
|
target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib)
|
||||||
|
Loading…
Reference in New Issue
Block a user