Brad King wrote:
> frederic heem wrote:
>> According to cmake template FindPACKAGE.cmake 
>> (http://cmake-modules.googlecode.com/svn/trunk/Templates/FindPACKAGE.cmake)
> 

File has been removed. I hope you like

http://cmake-modules.googlecode.com/svn/trunk/Scripts/generate_findpackage_file

        
        -- andreas

> FYI, this is not an official CMake module repository, nor has a CMake
> developer looked at these modules in detail.
> 
>> Can someone explain why the include directory is not cached whereas the 
>> library is cached and internal:
>>
>>   SET(<PACKAGE>_INCLUDE_DIRS ${<PACKAGE>_INCLUDE_DIR})
>>   SET(<PACKAGE>_LIBRARIES ${<PACKAGE>_LIBRARY} CACHE INTERNAL "The libraries 
>> for <PACKAGE>")
> 
> The <PACKAGE>_LIBRARIES should not be cached.  Only the values that
> actually might need to be set by the user through ccmake or CMakeSetup
> should be cached.
> 
> -Brad
> _______________________________________________
> CMake mailing list
> CMake@cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 

-- 
http://www.cynapses.org/ - cybernetic synapses


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to