summaryrefslogtreecommitdiff
path: root/fltk-config.cmake.in
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2010-11-30 10:34:43 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2010-11-30 10:34:43 +0000
commit8c56fc7e225b0d8d6ab9b3f9e4bce6758151ec62 (patch)
tree76aef4c350a8554773d02ce292f37aa7741227d9 /fltk-config.cmake.in
parent806542a84fb41720718e2a1afd91f4f0ede49c26 (diff)
Updated CMake files with patches from Michael Surette (STR #2317).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fltk-config.cmake.in')
-rw-r--r--fltk-config.cmake.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/fltk-config.cmake.in b/fltk-config.cmake.in
index a0b1dac41..4159a65da 100644
--- a/fltk-config.cmake.in
+++ b/fltk-config.cmake.in
@@ -59,9 +59,9 @@ OPTIM="@OPTION_OPTIM@"
CAIROFLAGS="@CAIROFLAGS@"
# Check for local invocation, and update paths accordingly...
-if test -f "$selfdir/FL/Fl_Window.H"; then
- bindir="$selfdir/fluid"
- includedir="$selfdir"
+if test -f "$selfdir/bin/UseFLTK.cmake"; then
+ bindir="$selfdir/bin/fluid"
+ includedir="@FLTK_SOURCE_DIR@"
libdir="$selfdir/lib"
if test -f "$libdir/libfltk_jpeg.a"; then