[Cmake] FindFLTK.cmake

Stefan Schmidt Stefan . Schmidt at sophia . inria . fr
Fri, 21 Mar 2003 14:33:48 +0100


Hi Bill,

On Friday 21 March 2003 14:15, Bill Hoffman wrote:
> You can always set the cache value FLTK_BASE_LIBRARY by hand.
> However, I guess it should be ${FLTK_INCLUDE_DIR}/../lib?   Can you try
> that and see if it works?

Yes it works (compiles) when I enter the full path for FLTK_BASE_LIBRARY,=
 and=20
in fact that's what I already did.
But I also had to set FLTK_FORMS_LIBRARY, FLTK_GL_LIBRARY, FLTK_IMAGES_LI=
BRARY
by hand. I thought that's what the "Find" is expected to do.

At least the FindFLTK.cmake tells me:
---
# The following settings should not be used in general.
# FLTK_BASE_LIBRARY    =3D the full path to fltk.lib
# FLTK_GL_LIBRARY      =3D the full path to fltk_gl.lib
# FLTK_FORMS_LIBRARY   =3D the full path to fltk_forms.lib
# FLTK_IMAGES_LIBRARY  =3D the full path to fltk_images.lib
---

Wouldn't it be possible to introduce something like a FTLK_PREFIX or FLTK=
_DIR=20
variable?

Regards,
Stefan