[Cmake] FindFLTK.cmake

Bill Hoffman bill.hoffman at kitware.com
Fri Mar 21 09:53:47 EST 2003


I just tried a test and ${VAR}/.. works as a search path
for FIND_LIBRARY.

1. What is the full name of the fltk library that it is not being found.
2. What OS are you running?
3. What version of cmake are you running?

-Bill


At 09:32 AM 3/21/2003, Julien Jomier wrote:
>>> 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.
>
>I think Stefan added the libraries by hand.
>I just tested 
>
>
>
>and it doesn't work for me.
>
>Julien
>
>> -----Original Message-----
>> From: Bill Hoffman [mailto:bill.hoffman at kitware.com] 
>> Sent: Friday, March 21, 2003 9:25 AM
>> To: Julien Jomier; 'Stefan Schmidt'; cmake at public.kitware.com
>> Subject: RE: [Cmake] FindFLTK.cmake
>> 
>> 
>> I think Stefan just said that it did work.   I see no reason 
>> why it would not work.
>> In fact, it is used in several other modules.
>> 
>> -Bill
>> 
>> 
>> At 08:53 AM 3/21/2003, Julien Jomier wrote:
>> >Bill,Stefan,
>> >
>> >We had the same issue before. The problem is that CMake doesn't find 
>> >the path ${FLTK_INCLUDE_DIR}/../lib when added in the FIND_LIBRARY 
>> >PATHS
>> >
>> >Bill, Is there any way to work around this?
>> >
>> >Julien
>> >
>> >> -----Original Message-----
>> >> From: cmake-admin at public.kitware.com
>> >> [mailto:cmake-admin at public.kitware.com] On Behalf Of Stefan Schmidt
>> >> Sent: Friday, March 21, 2003 8:34 AM
>> >> To: Bill Hoffman; cmake at public.kitware.com
>> >> Subject: Re: [Cmake] FindFLTK.cmake
>> >> 
>> >> 
>> >> 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
>> >> 
>> >> _______________________________________________
>> >> Cmake mailing list
>> >> Cmake at public.kitware.com
>> >> http://public.kitware.com/mailman/listinfo/cma> ke
>> >> 
>> >
>> >_______________________________________________
>> >Cmake mailing list
>> >Cmake at public.kitware.com 
>> >http://public.kitware.com/mailman/listinfo/cmake
>> 
>> 
>> 
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 






More information about the CMake mailing list