diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-04-11 11:59:31 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-04-11 11:59:31 +0000 |
commit | 89f868a44fa28d9daeb4070faa0f25d47db91fb1 (patch) | |
tree | c03b710f71c3c7a57125fe1910dbe80ce28c3cb9 /CMakeLists.txt | |
parent | c583c044c9cc4b89b36d43dd3795a52c1ef93ef4 (diff) | |
download | tigervnc-89f868a44fa28d9daeb4070faa0f25d47db91fb1.tar.gz tigervnc-89f868a44fa28d9daeb4070faa0f25d47db91fb1.zip |
Handle dead keys more properly (through some fixing in FLTK).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4365 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b8507ab0..498c6148 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ include(CheckIncludeFiles) include(CheckFunctionExists) include(CheckTypeSize) include(CheckCSourceCompiles) +include(CheckCXXSourceCompiles) project(TigerVNC) set(VERSION 1.0.90) @@ -136,6 +137,13 @@ if(BUILD_NEW_VNCVIEWER) set(FLTK_SKIP_FLUID TRUE) set(FLTK_SKIP_OPENGL TRUE) find_package(FLTK COMPONENTS REQUIRED) + + # FLTK STR #2599 + set(CMAKE_REQUIRED_INCLUDES ${FLTK_INCLUDE_DIR}) + set(CMAKE_REQUIRED_LIBRARIES ${FLTK_LIBRARIES}) + check_cxx_source_compiles("#include <FL/Fl.H>\nint main(int c, char** v) { Fl::event_compose_symbol(); return 0; }" HAVE_FLTK_DEAD_KEYS) + set(CMAKE_REQUIRED_INCLUDES) + set(CMAKE_REQUIRED_LIBRARIES) endif() # Check for GNUTLS library |