Re: [CMake] find_package() Config mode iteration gravely broken (Mac OpenCV KISS installation fails)

2013-04-30 Thread Alexander Neundorf
On Tuesday 30 April 2013, Andreas Mohr wrote: > On Tue, Apr 30, 2013 at 09:44:35PM +0200, Alexander Neundorf wrote: > > On Tuesday 30 April 2013, Andreas Mohr wrote: > > > Consider /opt/local/lib/cmake/OpenCVConfig-version.cmake > > > Visit /opt/local/lib/cmake/OpenCVConfig-version.cmake/ > > > Che

Re: [CMake] FindCUDA fails to find libcuda.so

2013-04-30 Thread Marcel Loose
Here are the results on my Ubuntu 12.10 system: $ cmake --debug-output .. Running with debug output on. -- The C compiler identification is GNU 4.7.2 Called from: [2] /usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake [1] /home/marcel/temp/cmake/cuda/CMakeLists.txt --

Re: [CMake] find_package() Config mode iteration gravely broken (Mac OpenCV KISS installation fails)

2013-04-30 Thread Andreas Mohr
On Tue, Apr 30, 2013 at 09:44:35PM +0200, Alexander Neundorf wrote: > On Tuesday 30 April 2013, Andreas Mohr wrote: > > Consider /opt/local/lib/cmake/OpenCVConfig-version.cmake > > Visit /opt/local/lib/cmake/OpenCVConfig-version.cmake/ > > CheckDirectory (dir /opt/local/lib/cmake/OpenCVConfig-versi

Re: [CMake] find_package() Config mode iteration gravely broken (Mac OpenCV KISS installation fails)

2013-04-30 Thread Alexander Neundorf
On Tuesday 30 April 2013, Andreas Mohr wrote: > Hi, > > tried to grab OpenCV on Mac OS 10.6 (via standard macports install), > expected it to be a walk in the park. > Imagine my surprise when this failed persistently and stubbornly. > > Turns out internet is full of reports of OpenCV Config failu

Re: [CMake] 'AUTOMOC' feature skips sources of executable targets?

2013-04-30 Thread Alexander Neundorf
On Tuesday 30 April 2013, Haroogan wrote: .. > 2. What's the point of recommending against it? Either one adds sources > by hand or one does it with GLOB - one has to rerun CMake anyway. No, this is not necessary. CMake is rerun automatically whenever necessary. By adding a file to a CMakeLis

[CMake] find_package() Config mode iteration gravely broken (Mac OpenCV KISS installation fails)

2013-04-30 Thread Andreas Mohr
Hi, tried to grab OpenCV on Mac OS 10.6 (via standard macports install), expected it to be a walk in the park. Imagine my surprise when this failed persistently and stubbornly. Turns out internet is full of reports of OpenCV Config failure (and, I have to say, the sufficiently condescending tone

Re: [CMake] 'AUTOMOC' feature skips sources of executable targets?

2013-04-30 Thread Haroogan
On 30-Apr-13 08:40, Rolf Eike Beer wrote: Haroogan wrote: On 29-Apr-13 23:27, Alexander Neundorf wrote: On Monday 29 April 2013, Haroogan wrote: Have a look at my post on StackOverflow >> so urces-of-executable-targets>

[CMake] solving dll dependency

2013-04-30 Thread Lloyd
Hi, I am learning the right way to write cmake files. As part of this I have downloaded the source code of vtk and cmake (to see its cmake files), and built them using visual studio on Windows 7. At present my main doubt is about the dlls. In cmake bin (the build output directory) directory I cou