Review Request 103701: Install LibKexiv2Config.cmake
Yury Kudryashov
urkud at ya.ru
Sun May 5 20:02:56 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103701/
-----------------------------------------------------------
(Updated May 5, 2013, 8:02 p.m.)
Review request for Build System and Digikam.
Changes
-------
New patch depends on CMakePackageConfigHelpers.cmake.
Description (updated)
-------
Now
find_package(libkexiv2 CONFIG)
finds LibKexiv2, removing need for large FindKexiv2.cmake script.
I've decided to install libkexiv2-config.cmake, not Kexiv2Config.cmake to avoid conflicts with FindKexiv2.cmake from kdelibs.
Also, I'm not sure about libkexiv2-config-version.cmake. I'm ready to adjust the default policy if someone will tell me about correct algorithm (SONAME? Same major version? Same major/minor? something else?).
Diffs (updated)
-----
CMakeLists.txt 8c89503ffb2de66be682af3b262756519db3af49
libkexiv2-config.cmake.in PRE-CREATION
libkexiv2/CMakeLists.txt c706d820f54b412f45131a14276b13bfc07255a1
Diff: http://git.reviewboard.kde.org/r/103701/diff/
Testing (updated)
-------
$ cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/../install; cd ..;
$ cmake --find-package -DCMAKE_PREFIX_PATH=$PWD/../install -DNAME=libkexiv2 -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST
$ cmake --find-package -DCMAKE_PREFIX_PATH=$PWD/../install -DNAME=libkexiv2 -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=COMPILE
$ cmake --find-package -DCMAKE_PREFIX_PATH=$PWD/../install -DNAME=libkexiv2 -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=LINK
Thanks,
Yury Kudryashov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20130505/efb0087d/attachment.html>
More information about the Kde-buildsystem
mailing list