diff --git a/CMakeLists.txt b/CMakeLists.txt index 918fb0a..7028802 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,6 @@ find_package(OpenSSL 1.1.1) if (OPENSSL_FOUND) set(OPENSSL_SSL OpenSSL::SSL) set(OPENSSL_CRYPTO OpenSSL::Crypto) - include_directories(${OPENSSL_INCLUDE_DIR}) elseif (PkgConfig_FOUND) message("fallback to check openssl11") pkg_check_modules(OPENSSL openssl11) @@ -102,7 +101,6 @@ endif() if (NOT EVENT_CORE) find_package(Libevent 2.1 REQUIRED COMPONENTS core) set(EVENT_CORE libevent::core) - include_directories(${LIBEVENT_INCLUDE_DIRS}) endif() add_executable(wss-proxy-client wss-proxy-client.c ws-header.c common.c wss-client.c wss-client-http3.c)