Howdy,
Attached is a patch for FindExiv2.cmake.
I have libexiv 0.12 installed in /usr and libexiv 0.18 installed in /usr/local.
I need the buildsystem to find the version in /usr/local.
I properly have my PKG_CONFIG_PATH set so /usr/local/lib/pkgconfig is searched
first.
The current FindExiv2.cmake correctly locates 0.18 in /usr/local, but then
incorrectly sets the ${EXIV2_LIBRARIES} to the version in /usr/lib.
My patch fixes that. Please review.
-Allen
Index: FindExiv2.cmake
===================================================================
--- FindExiv2.cmake (revision 1061633)
+++ FindExiv2.cmake (working copy)
@@ -62,8 +62,9 @@ else (EXIV2_INCLUDE_DIR AND EXIV2_LIBRAR
)
find_library(EXIV2_LIBRARIES NAMES exiv2 libexiv2
- PATHS
+ HINTS
${_EXIV2LinkDir}
+ NO_DEFAULT_PATH
)
if (EXIV2_INCLUDE_DIR AND EXIV2_LIBRARIES)
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem