From 0081ceeca2156f442e798b9b5ce9dad30df5f65a Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Wed, 6 Dec 2023 15:57:34 +0100 Subject: [PATCH] FindKqueue: Do not modify global include dirs ...nor zeekdeps. --- FindKqueue.cmake | 7 ------- 1 file changed, 7 deletions(-) diff --git a/FindKqueue.cmake b/FindKqueue.cmake index 420f8de..fffa687 100644 --- a/FindKqueue.cmake +++ b/FindKqueue.cmake @@ -25,9 +25,6 @@ if (NOT HAVE_KQUEUE) mark_as_advanced(LIBKQUEUE_ROOT_DIR LIBKQUEUE_LIBRARIES LIBKQUEUE_INCLUDE_DIRS) set(HAVE_KQUEUE true) - set(zeekdeps ${zeekdeps} ${LIBKQUEUE_LIBRARIES}) - include_directories(BEFORE ${LIBKQUEUE_INCLUDE_DIRS}) - else () set(kqueue_build "${CMAKE_CURRENT_BINARY_DIR}/libkqueue-build") @@ -130,10 +127,6 @@ if (NOT HAVE_KQUEUE) set(LIBKQUEUE_LIBRARIES libkqueue_a CACHE STRING "libkqueue libs" FORCE) set(LIBKQUEUE_INCLUDE_DIRS "${kqueue_src}/include;${kqueue_build}/include" CACHE INTERNAL "libkqueue includes" FORCE) - - include_directories(BEFORE ${LIBKQUEUE_INCLUDE_DIRS}) - set(zeekdeps ${zeekdeps} ${LIBKQUEUE_LIBRARIES}) - endif () endif ()