diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-19 16:28:15 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-19 16:28:15 +0100 |
commit | 82c2e609a95d81f8bc18a9595ab96d3200b20d58 (patch) | |
tree | 059ddf76dccde4234818559e9f575e87229db10a /CMakeLists.txt | |
parent | 06a167bbf2c32fd861994ed51ac51e8b2e6f533c (diff) | |
download | rspamd-82c2e609a95d81f8bc18a9595ab96d3200b20d58.tar.gz rspamd-82c2e609a95d81f8bc18a9595ab96d3200b20d58.zip |
[Minor] Fix libutil detection on BSD systems
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 88aea0b62..d108f51e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -506,7 +506,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "^.*BSD$|DragonFly") ROOT ${LIBUTIL_ROOT_DIR} OPTIONAL) IF(WITH_LIBUTIL) SET(HAVE_LIBUTIL_H 1) - LIST(APPEND RSPAMD_REQUIRED_LIBRARIES util) + LIST(APPEND CMAKE_REQUIRED_LIBRARIES util) CHECK_FUNCTION_EXISTS(pidfile_open HAVE_PIDFILE) CHECK_FUNCTION_EXISTS(pidfile_fileno HAVE_PIDFILE_FILENO) ENDIF() |