From: brarcher Date: Wed, 25 Dec 2013 03:04:26 +0000 (+0000) Subject: cmake: detect floor in math lib, as that is what is being used X-Git-Tag: 0.10.0~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aae41ced08a62e203c62c7a879a3dfa3526362ed;p=check cmake: detect floor in math lib, as that is what is being used git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@945 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cbc6448..d4499bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -362,7 +362,7 @@ endif(HAVE_SIZEOF_WCHAR_T) ############################################################################### # Check libraries -check_library_exists(m pow "" HAVE_LIBM) +check_library_exists(m floor "" HAVE_LIBM) if (HAVE_LIBM) set (LIBM "m") endif (HAVE_LIBM)