From 79b5bb418bc3834a842c86371eac47cb39706426 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 20 Dec 2014 00:57:20 -0800 Subject: Fix typo. One position off on the keyboard and everything falls apart. Change-Id: I00909ca3344642d3eeaae0d8563403b56cc62f79 Reviewed-on: https://code.wireshark.org/review/5912 Reviewed-by: Guy Harris --- ConfigureChecks.cmake | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 26ff93d06f..5c173eb004 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -67,16 +67,7 @@ include(CheckSymbolExists) check_function_exists("chown" HAVE_CHOWN) cmake_push_check_state() -# -# XXX - this is *not* finding dladdr() on OS X (at least not on -# Mountain Lion), even though it's available; autoconf does find -# it. The dl* functions can be tricky, in that they might be -# exported by the run-time linker rather than by any library, -# so the only way to check for it that might work is "can I link -# a program that calls this function?", not, for example, "do -# any of these libraries define this function?" -# -set(CMAKE_REQUIRED_LIBRARIES %{CMAKE_DL_LIBS}) +set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_DL_LIBS}) check_function_exists("dladdr" HAVE_DLADDR) cmake_pop_check_state() -- cgit v1.2.1