aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c68613c8c..d90d9c741 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -444,9 +444,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
DOC "Path to libutil header")
IF(_LIBUTIL_H)
SET(HAVE_LIBUTIL_H 1)
- INCLUDE_DIRECTORIES(${_LIBUTIL_H})
- LIST(APPEND CMAKE_REQUIRED_INCLUDES ${_LIBUTIL_H})
- SET(CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES} -L${LIBUTIL_LIBRARY};-lutil")
LIST(APPEND RSPAMD_REQUIRED_LIBRARIES util)
CHECK_FUNCTION_EXISTS(pidfile_open HAVE_PIDFILE)
CHECK_FUNCTION_EXISTS(pidfile_fileno HAVE_PIDFILE_FILENO)