From 6317176d7e890292cb40d6add96a1c81e8eeb08f Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Thu, 21 May 2020 23:52:19 +0100 Subject: More CMake cleanup --- Tools/ProtoProxy/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'Tools/ProtoProxy') 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) -- cgit v1.2.3