[CMake] FLTKConfig.cmake on Microsoft Windows

Micha Renner Micha.Renner at t-online.de
Thu Dec 30 04:29:41 EST 2010


Am Mittwoch, den 29.12.2010, 20:03 +0100 schrieb Julia Jacobson:
> Thanks for your answer. The file FindFLTK.cmake exists within my CMake 
> installation, but I still get an error message:
> "CMake Error at C:/Program Files/CMake 
> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 
> (MESSAGE):
> Could NOT find FLTK (missing: FLTK_LIBRARIES FLTK_FLUID_EXECUTABLE)"
> This is probably due to the fact that I haven't indicated anywhere where 
> to find my FLTK installation (i.e. C:\Program Files\fltk-1.1.10).
> 
Actually the module file (here FindFLTK) should find the libraries on
any platforms, but in this case...

Before FIND_PACKAGE(FLTK REQUIRED) insert:

SET(FLTK_DIR "C:/Program Files/fltk-1.1.10") # NO backslash!

If you did not install "fluid")
SET(FLTK_SKIP_FLUID TRUE)

FIND_PACKAGE(...

Micha




More information about the CMake mailing list