diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-02-07 21:35:31 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-02-07 23:22:11 +0000 |
commit | d762a895ab570680e4e72142a348ad2b07c97d4f (patch) | |
tree | 896a9f000985ff01e896735930be9f5eb3350109 /ConfigureChecks.cmake | |
parent | 847a713d12f9e39cd3f07b52ac8d77814e90c3db (diff) |
GTK: Check if lrint() is usable, fix warnings [-Wbad-function-cast]
Change-Id: I4714ba6cfbd18847d99650f5c5cdc60dd2e7af26
Reviewed-on: https://code.wireshark.org/review/13808
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index d9d3ca8efb..b30274310e 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -100,6 +100,7 @@ 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) +check_symbol_exists("lrint" "math.h" HAVE_LRINT) cmake_pop_check_state() check_function_exists("getaddrinfo" HAVE_GETADDRINFO) |