[Cmake] FindFLTK.cmake

Bill Hoffman bill.hoffman at kitware.com
Fri Mar 21 08:15:26 EST 2003


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?


-Bill


At 04:43 AM 3/21/2003, Stefan Schmidt wrote:
>Hi,
>
>Using CMake 1.6.5 (same goes for CVS version), I have some trouble using 
>FindFLTK.cmake when FLTK is _installed_ in a nonstandard location. I set 
>FLTK_INCLUDE_DIR to its include directory (i.e. $HOME/fltk/include), but the 
>find tries to search the libraries in include/lib/:
>
>      FIND_LIBRARY(FLTK_BASE_LIBRARY  NAMES fltk fltkd
>           PATHS /usr/lib /usr/local/lib
>           /usr/local/fltk/lib
>           /usr/X11R6/lib ${FLTK_INCLUDE_DIR}/lib
>      )
>
>This mechanism might work for the build directory of FLTK, but not for an 
>installed version.
>
>Can this be fixed, please?
>
>Kind regards,
>Stefan
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 






More information about the CMake mailing list