]> granicus.if.org Git - check/commitdiff
cmake: detect floor in math lib, as that is what is being used
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 25 Dec 2013 03:04:26 +0000 (03:04 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 25 Dec 2013 03:04:26 +0000 (03:04 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@945 64e312b2-a51f-0410-8e61-82d0ca0eb02a

CMakeLists.txt

index cbc64487357af94764af856c90a11481599d4711..d4499bb2a663ce28fc6a6919a20e52443af5ec96 100644 (file)
@@ -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)