From 7d1488507d110e567f57610894e9ce5d0eaebf2b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 23 Feb 2018 19:41:52 +0000 Subject: CMake: Fix fltk-config for Windows and Unix/Linux. This update ought to work with fltk-config [--use-images] [--use-gl] --compile on both Windows and Unix/Linux when built with CMake. It was tested under Windows and Linux using fltk-config directly from the build tree, but it should work as well after installation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fltk-config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fltk-config.in') diff --git a/fltk-config.in b/fltk-config.in index d82731500..5161efaa6 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -243,8 +243,8 @@ if test x$use_forms = xyes; then LDSTATIC="$libdir/libfltk_forms.a $LDSTATIC" fi if test x$use_gl = xyes; then - LDLIBS="-lfltk_gl$SHAREDSUFFIX @GLLIB@ $LDLIBS" - LDSTATIC="$libdir/libfltk_gl.a @GLLIB@ $LDSTATIC" + LDLIBS="-lfltk_gl$SHAREDSUFFIX @GLLIBS@ $LDLIBS" + LDSTATIC="$libdir/libfltk_gl.a @GLLIBS@ $LDSTATIC" fi if test x$use_images = xyes; then LDLIBS="-lfltk_images$SHAREDSUFFIX $IMAGELIBS $LDLIBS" -- cgit v1.2.3