From ab06871bb21a55789120c271eb6b7ad02033b95c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 25 Jun 2019 11:46:51 +0100 Subject: [Minor] Try to fix cmake stupidity --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8838892a9..3b3b768fc 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_FUNCTION_EXISTS(tanhl HAVE_TANHL) -CHECK_FUNCTION_EXISTS(tanh HAVE_TANH) -CHECK_FUNCTION_EXISTS(expl HAVE_EXPL) -CHECK_FUNCTION_EXISTS(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) -- cgit v1.2.3