summaryrefslogtreecommitdiffstats
path: root/Tools/GrownBiomeGenVisualiser/CMakeLists.txt
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-05-22 00:52:19 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-12 23:00:07 +0200
commit6317176d7e890292cb40d6add96a1c81e8eeb08f (patch)
tree6660c0df2d36933c2abe88e8f949eb552cf63c1e /Tools/GrownBiomeGenVisualiser/CMakeLists.txt
parentRemove Schematic Chunk height limitation (diff)
downloadcuberite-6317176d7e890292cb40d6add96a1c81e8eeb08f.tar
cuberite-6317176d7e890292cb40d6add96a1c81e8eeb08f.tar.gz
cuberite-6317176d7e890292cb40d6add96a1c81e8eeb08f.tar.bz2
cuberite-6317176d7e890292cb40d6add96a1c81e8eeb08f.tar.lz
cuberite-6317176d7e890292cb40d6add96a1c81e8eeb08f.tar.xz
cuberite-6317176d7e890292cb40d6add96a1c81e8eeb08f.tar.zst
cuberite-6317176d7e890292cb40d6add96a1c81e8eeb08f.zip
Diffstat (limited to 'Tools/GrownBiomeGenVisualiser/CMakeLists.txt')
-rw-r--r--Tools/GrownBiomeGenVisualiser/CMakeLists.txt14
1 files changed, 2 insertions, 12 deletions
diff --git a/Tools/GrownBiomeGenVisualiser/CMakeLists.txt b/Tools/GrownBiomeGenVisualiser/CMakeLists.txt
index c3fa4ac32..ed8cd5d1d 100644
--- a/Tools/GrownBiomeGenVisualiser/CMakeLists.txt
+++ b/Tools/GrownBiomeGenVisualiser/CMakeLists.txt
@@ -1,13 +1,7 @@
project (GrownBiomeGenVisualiser)
-
-# Without this, the MSVC variable isn't defined for MSVC builds ( https://www.cmake.org/pipermail/cmake/2011-November/047130.html )
-enable_language(CXX C)
+find_package(Threads REQUIRED)
include(../../SetFlags.cmake)
-set_flags()
-set_lib_flags()
-enable_profile()
-
# Set include paths to the used libraries:
include_directories(SYSTEM "../../lib")
@@ -24,10 +18,6 @@ function(flatten_files arg1)
endfunction()
-# Include the libraries:
-
-set_exe_flags()
-
# Include the shared files:
set(SHARED_SRC
../../src/StringUtils.cpp
@@ -89,6 +79,6 @@ add_executable(GrownBiomeGenVisualiser
${SHARED_OSS_HDR}
)
-target_link_libraries(GrownBiomeGenVisualiser fmt::fmt)
+target_link_libraries(GrownBiomeGenVisualiser fmt::fmt Threads::Threads)
set_target_properties(GrownBiomeGenVisualiser PROPERTIES FOLDER Tools)