TCAP: fix indent and add modelines (use 2 spaces)
[metze/wireshark/wip.git] / ConfigureChecks.cmake
index b0528884552c25463583a1f9997dc3bdfc1f2892..d9d3ca8efb0217bb9ea3eee470c5ebdbee9c05d0 100644 (file)
@@ -96,7 +96,12 @@ cmake_pop_check_state()
 # Use check_symbol_exists just in case math.h does something magic
 # and there's not actually a function named floorl()
 #
+cmake_push_check_state()
+set(CMAKE_REQUIRED_INCLUDES ${M_INCLUDE_DIRS})
+set(CMAKE_REQUIRED_LIBRARIES ${M_LIBRARIES})
 check_symbol_exists("floorl" "math.h"    HAVE_FLOORL)
+cmake_pop_check_state()
+
 check_function_exists("getaddrinfo"      HAVE_GETADDRINFO)
 check_function_exists("gethostbyname"    HAVE_GETHOSTBYNAME)
 check_function_exists("gethostbyname2"   HAVE_GETHOSTBYNAME2)