summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-07-22 14:59:34 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-07-22 14:59:34 (GMT)
commitf929104ae87094aab0a9c7bd7f6b22ec5bc3f3e8 (patch)
treec8c866ac9ac3711081d676eb6a62c97e1b619580 /Modules/FindFLTK.cmake
parent76c377737b14c782a05e8163c935b2b89cde7b7e (diff)
downloadCMake-f929104ae87094aab0a9c7bd7f6b22ec5bc3f3e8.zip
CMake-f929104ae87094aab0a9c7bd7f6b22ec5bc3f3e8.tar.gz
CMake-f929104ae87094aab0a9c7bd7f6b22ec5bc3f3e8.tar.bz2
BUG: put back flags to maintain backwards compatibility
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r--Modules/FindFLTK.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index 6680d7a..e59e17e 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -9,6 +9,10 @@
# FLTK_VERSION_1.1 Use this Version
# FLTK_FOUND, Don't use FLTK if false.
+# this is around for backwards compatibility
+# FLTK_WRAP_UI set to true if FLTK_FLUID_EXECUTABLE is found
+
+
# The following settings should not be used in general.
# FLTK_BASE_LIBRARY = the full path to fltk.lib
@@ -125,7 +129,13 @@ IF(FLTK_FLUID_EXECUTABLE)
ENDIF(FLTK_INCLUDE_DIR)
ENDIF(FLTK_FLUID_EXECUTABLE)
+
+IF (FLTK_FLUID_EXECUTABLE)
+ SET ( FLTK_WRAP_UI 1 CACHE INTERNAL "Do we have the fluid executable" )
+ENDIF (FLTK_FLUID_EXECUTABLE)
+
MARK_AS_ADVANCED(
FLTK_VERSION_1.0.11
FLTK_VERSION_1.1
+ FLTK_WRAP_UI
)