[Bf-committers] [PATCH] use find_package() under UNIX, remove unnecessary duplicate search paths

Alexander Neundorf neundorf at kde.org
Sat Jun 27 15:59:40 CEST 2009


the attached patch includes the previous patch and additionally does 3 things:
-under UNIX, it uses FIND_PACKAGE() to find the jpg, png and zlib libraries
-it removes the explictely listed search paths, which are already searched by 
default, so it is not necessary to list them again explicitely
-it removes the include directories /usr/include 
and /usr/local/include. /usr/include is used by default, all other 
directories should be searched via find_package/find_file and then added to 
the include directories.

Please apply.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: find_package_and_remove_duplicate_dirs.patch
Type: text/x-diff
Size: 4713 bytes
Desc: not available
Url : http://lists.blender.org/pipermail/bf-committers/attachments/20090627/bb44f940/attachment.patch 

More information about the Bf-committers mailing list