We don't use fltk_images or fltk_forms, so don't try to detect those (otherwise, when linking against libfltk.a, the build system will try to link with libfltk_images.a and libfltk_forms.a as well, which can introduce external dependencies that we don't want.)


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4521 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d74e60..8fc901e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -186,6 +186,8 @@
 if(BUILD_NEW_VNCVIEWER)
   set(FLTK_SKIP_FLUID TRUE)
   set(FLTK_SKIP_OPENGL TRUE)
+  set(FLTK_SKIP_IMAGES TRUE)
+  set(FLTK_SKIP_FORMS TRUE)
   find_package(FLTK COMPONENTS REQUIRED)
 
   # No proper handling for extra X11 libs that FLTK might need...