[Cmake] FindFLTK.cmake

Stefan Schmidt Stefan.Schmidt at sophia.inria.fr
Fri Mar 21 08:33:48 EST 2003


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 
in fact that's what I already did.
But I also had to set FLTK_FORMS_LIBRARY, FLTK_GL_LIBRARY, FLTK_IMAGES_LIBRARY
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    = the full path to fltk.lib
# FLTK_GL_LIBRARY      = the full path to fltk_gl.lib
# FLTK_FORMS_LIBRARY   = the full path to fltk_forms.lib
# FLTK_IMAGES_LIBRARY  = the full path to fltk_images.lib
---

Wouldn't it be possible to introduce something like a FTLK_PREFIX or FLTK_DIR 
variable?

Regards,
Stefan




More information about the CMake mailing list