diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-24 18:00:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-24 18:00:41 +0100 |
commit | 2eb837459e028b2b2eb94859034c0c87bb1599a6 (patch) | |
tree | 5854b91dce9e98ef8c0310958363aa77631f0cc2 | |
parent | 75873dc4fd1085cc4863733ae1b28f94b64dc34d (diff) | |
download | rspamd-2eb837459e028b2b2eb94859034c0c87bb1599a6.tar.gz rspamd-2eb837459e028b2b2eb94859034c0c87bb1599a6.zip |
Fix build on FreeBSD < 10.
-rw-r--r-- | CMakeLists.txt | 3 |
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) |