From fdb348e16f5e8e675e00923dd4cceb59337f6953 Mon Sep 17 00:00:00 2001 From: DRC Date: Fri, 10 Jun 2011 17:29:35 +0000 Subject: [PATCH] Fix HAVE_FLTK_DEAD_KEYS test git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4491 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0577804c..1f9d9578 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,7 +204,7 @@ if(BUILD_NEW_VNCVIEWER) set(CMAKE_REQUIRED_LIBRARIES ${FLTK_LIBRARIES}) # FLTK STR #2599 - check_cxx_source_compiles("#include \nint main(int c, char** v) { void *foo = (void*)&Fl_Widget::set_simple_keyboard; return 0; }" HAVE_FLTK_DEAD_KEYS) + check_cxx_source_compiles("#include \nint main(int c, char** v) { void (Fl_Widget::*foo)() = &Fl_Widget::set_simple_keyboard; return 0; }" HAVE_FLTK_DEAD_KEYS) # FLTK STR #2636 check_cxx_source_compiles("#include \nint main(int c, char** v) { Fl::add_clipboard_notify(NULL, NULL); return 0; }" HAVE_FLTK_CLIPBOARD) -- 2.39.5