Re: [CMake] suspicious behaviour of FindPkgConfig

2011-01-07 Thread Nizar Khalifa Sallem
At Fri, 07 Jan 2011 08:35:22 +0100, Michael Wild wrote: 1. Flann uses CMake, so it should install a FlannConfig.cmake (possibly in addition to the currently installed flann.pc). This would obsolete all issues below. 2. Since Flann only comes with a pkg-config module and there's no

[CMake] suspicious behaviour of FindPkgConfig

2011-01-06 Thread Nizar Khalifa Sallem
Hi all, I am getting in trouble with the FindPkgConfig module. Here is a piece of rather bigger CMakeLists.txt file that doesn't success to find Doxygen although installed on the machine(ubuntu 10.4, cmake 2.8.3) # $Id$ # #

Re: [CMake] suspicious behaviour of FindPkgConfig

2011-01-06 Thread Ryan Pavlik
FindPkgConfig and find_package are not really related: some scripts for find_package do use pkg-config to help them, but you shouldn't need to check for it yourself. Also, find scripts shouldn't be used with include. It looks a bit like build system overkill: this should do roughly the same

Re: [CMake] suspicious behaviour of FindPkgConfig

2011-01-06 Thread Michael Wild
1. Flann uses CMake, so it should install a FlannConfig.cmake (possibly in addition to the currently installed flann.pc). This would obsolete all issues below. 2. Since Flann only comes with a pkg-config module and there's no FindFlann.cmake module in CMake, the OP could either write his own