[CMake] fetch pkgconfig variable

2011-11-21 Thread Weng Xuetian
Hi, currently I can only use _pkgconfig_invoke to get pkgconfig variable in cmake, though it works well, but I don't think it is good to use the private macro, is there any plan to make it public? Thanks signature.asc Description: This is a digitally signed message part. -- Powered by www.kit

[CMake] path for install cmake scripts

2011-08-25 Thread Weng Xuetian
Hi folks, I have a program that have some cmake scripts to be installed in order to add support for find_package for this program's libs. But I have problem about choose the cmake path. Currently I use ${CMAKE_ROOT}/Modules to install my scripts. But this is not good if user want to install with a