diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-02-23 19:41:52 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-02-23 19:41:52 +0000 |
| commit | 7d1488507d110e567f57610894e9ce5d0eaebf2b (patch) | |
| tree | 39ec070c7b17850b61f3a665f5190f5b9b55a4e2 /fltk-config.in | |
| parent | a0863e393af4231c93f917c18ef6b3366153c21e (diff) | |
CMake: Fix fltk-config for Windows and Unix/Linux.
This update ought to work with
fltk-config [--use-images] [--use-gl] --compile <c source file>
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
Diffstat (limited to 'fltk-config.in')
| -rwxr-xr-x | fltk-config.in | 4 |
1 files changed, 2 insertions, 2 deletions
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" |
