X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Fcommon%2FCMakeLists.txt;h=0c77c3920f2bf44c3b105971d1474e2c7f94f094;hb=2f289c64f625962d945ec3bee80f36bc5c61ee35;hp=84443e26ca1317c5e6b7a4ebae652cff26b407e1;hpb=4b584c02c679edd005cd2e542d2ff1d9dcb312b9;p=awesomized%2Flibmemcached diff --git a/src/bin/common/CMakeLists.txt b/src/bin/common/CMakeLists.txt index 84443e26..0c77c392 100644 --- a/src/bin/common/CMakeLists.txt +++ b/src/bin/common/CMakeLists.txt @@ -1,9 +1,7 @@ add_library(libclient_common STATIC options.cpp checks.hpp random.hpp time.hpp) -if(NOT HAVE_GETOPT_H) - target_sources(libclient_common PRIVATE ../../win32/getopt.c) -endif() add_library(client_common ALIAS libclient_common) set_target_properties(libclient_common PROPERTIES CXX_STANDARD ${CXX_STANDARD}) +target_link_libraries(libclient_common PRIVATE p9y) target_link_libraries(libclient_common PUBLIC libmemcached) target_include_directories(libclient_common PUBLIC .