summaryrefslogtreecommitdiffstats
path: root/Tools/AnvilStats/CMakeLists.txt
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-07 01:04:32 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-12 23:00:07 +0200
commit4f85931c42ce4aad454a1dbf38a6f0565822056d (patch)
tree558b05e353d1b6984d6c9fd4fed80c6bc18fc56b /Tools/AnvilStats/CMakeLists.txt
parentFunktions (diff)
downloadcuberite-4f85931c42ce4aad454a1dbf38a6f0565822056d.tar
cuberite-4f85931c42ce4aad454a1dbf38a6f0565822056d.tar.gz
cuberite-4f85931c42ce4aad454a1dbf38a6f0565822056d.tar.bz2
cuberite-4f85931c42ce4aad454a1dbf38a6f0565822056d.tar.lz
cuberite-4f85931c42ce4aad454a1dbf38a6f0565822056d.tar.xz
cuberite-4f85931c42ce4aad454a1dbf38a6f0565822056d.tar.zst
cuberite-4f85931c42ce4aad454a1dbf38a6f0565822056d.zip
Diffstat (limited to '')
-rw-r--r--Tools/AnvilStats/CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/Tools/AnvilStats/CMakeLists.txt b/Tools/AnvilStats/CMakeLists.txt
index a5cf4b9e7..760bc0063 100644
--- a/Tools/AnvilStats/CMakeLists.txt
+++ b/Tools/AnvilStats/CMakeLists.txt
@@ -1,7 +1,5 @@
project (AnvilStats)
-include(../../SetFlags.cmake)
-
# Set include paths to the used libraries:
include_directories("../../lib")
include_directories("../../src")
@@ -107,9 +105,11 @@ add_executable(AnvilStats
${SHARED_OSS_HDR}
)
-
target_link_libraries(AnvilStats zlib)
+include(../../SetFlags.cmake)
+set_exe_flags(AnvilStats)
+
@@ -128,6 +128,3 @@ if (MSVC)
SET(TEMP "${TEMP}/STACK:16777216")
set_target_properties(AnvilStats PROPERTIES LINK_FLAGS ${TEMP})
endif ()
-
-
-