commit 961cc0e: [Minor] Grrr, fix cmake arguments

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jun 25 11:28:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-06-25 12:26:58 +0100
URL: https://github.com/rspamd/rspamd/commit/961cc0e0220d826259684b87eb1716c4a4e379f9 (HEAD -> master)

[Minor] Grrr, fix cmake arguments

---
 CMakeLists.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b3b768fc..b3fd7cae1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -875,10 +875,10 @@ CHECK_FUNCTION_EXISTS(vfork HAVE_VFORK)
 CHECK_FUNCTION_EXISTS(wait4 HAVE_WAIT4)
 CHECK_FUNCTION_EXISTS(waitpid HAVE_WAITPID)
 CHECK_FUNCTION_EXISTS(flock HAVE_FLOCK)
-CHECK_LIBRARY_EXISTS(m tanhl HAVE_TANHL)
-CHECK_LIBRARY_EXISTS(m tanh HAVE_TANH)
-CHECK_LIBRARY_EXISTS(m expl HAVE_EXPL)
-CHECK_LIBRARY_EXISTS(m exp2l HAVE_EXP2L)
+CHECK_LIBRARY_EXISTS(m tanhl "" HAVE_TANHL)
+CHECK_LIBRARY_EXISTS(m tanh "" HAVE_TANH)
+CHECK_LIBRARY_EXISTS(m expl "" HAVE_EXPL)
+CHECK_LIBRARY_EXISTS(m exp2l "" HAVE_EXP2L)
 CHECK_FUNCTION_EXISTS(sendfile HAVE_SENDFILE)
 CHECK_FUNCTION_EXISTS(mkstemp HAVE_MKSTEMP)
 CHECK_FUNCTION_EXISTS(setitimer HAVE_SETITIMER)


More information about the Commits mailing list