commit 82c2e60: [Minor] Fix libutil detection on BSD systems
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Jul 19 15:35:04 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-07-19 16:28:15 +0100
URL: https://github.com/rspamd/rspamd/commit/82c2e609a95d81f8bc18a9595ab96d3200b20d58 (HEAD -> master)
[Minor] Fix libutil detection on BSD systems
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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()
More information about the Commits
mailing list