[CMake] CMake Modules

Andreas Schneider mail at cynapses.org
Sun Sep 10 07:15:09 EDT 2006


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 at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20060910/e24415b5/signature.pgp


More information about the CMake mailing list