diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-05-22 00:52:19 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-12 23:00:07 +0200 |
commit | 6317176d7e890292cb40d6add96a1c81e8eeb08f (patch) | |
tree | 6660c0df2d36933c2abe88e8f949eb552cf63c1e /Tools/ProtoProxy/CMakeLists.txt | |
parent | Remove Schematic Chunk height limitation (diff) | |
download | cuberite-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 '')
-rw-r--r-- | Tools/ProtoProxy/CMakeLists.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Tools/ProtoProxy/CMakeLists.txt b/Tools/ProtoProxy/CMakeLists.txt index 431c29daa..8f3228a47 100644 --- a/Tools/ProtoProxy/CMakeLists.txt +++ b/Tools/ProtoProxy/CMakeLists.txt @@ -1,11 +1,8 @@ project (ProtoProxy) +find_package(Threads REQUIRED) include(../../SetFlags.cmake) -set_flags() -set_lib_flags() - - # Set include paths to the used libraries: include_directories(SYSTEM "../../lib") include_directories(SYSTEM "../../lib/mbedtls/include") @@ -22,8 +19,6 @@ endfunction() add_subdirectory(../../lib/zlib ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/lib/zlib) -set_exe_flags() - # Include the shared files: set(SHARED_SRC ../../src/ByteBuffer.cpp @@ -99,5 +94,5 @@ add_executable(ProtoProxy ${SHARED_OSS_HDR} ) -target_link_libraries(ProtoProxy zlib mbedtls fmt::fmt) +target_link_libraries(ProtoProxy zlib mbedtls fmt::fmt Threads::Threads) |