From cbe64618821a0ae9f1901ce1a4a3893d939fdc32 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 1 Feb 2015 00:21:17 +0100 Subject: Implement most of the chunk format --- src/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4559a19..df50419 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,12 @@ +include_directories(${ZLIB_INCLUDE_DIRS}) +link_directories(${ZLIB_LIBRARY_DIRS}) + add_executable(MinedMap MinedMap.cpp + NBT/Tag.cpp + World/Chunk.cpp + World/Region.cpp ) +set_target_properties(MinedMap PROPERTIES COMPILE_FLAGS "-std=c++11 -Wall ${ZLIB_CFLAGS_OTHER}") +set_target_properties(MinedMap PROPERTIES LINK_FLAGS "${ZLIB_LDFLAGS_OTHER}") +target_link_libraries(MinedMap ${ZLIB_LIBRARIES}) -- cgit v1.2.3