16 Sep
2011
16 Sep
'11
4:10 a.m.
WRT the changes in FindCairo.cmake:
* The libfind_pkg_check_modules macro only accepts 2 parameters.
Sorry, It's my mistake.
* You can experiment with the FindPackageHandleStandardArgs module (which also offers other benefits) to avoid writing the version message manually. A simple example can be found in [1].
[1] https://projects.kde.org/projects/kde/kdelibs/repository/revisions/master/en...
I agree. But I can't use FindPackageHandleStandardArgs for version error.( I can't open above url. So I referenced FindXXX.cmake in cmake-2.8/Modules/ ) Attached file is different approach. IMO, libfind_pkg_check_modules should be smarter. Best Regards Ryuan Choi.