Re: cmake vs. opencv

2012-06-12 Thread Petr Vanek
>> Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set >> "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV" >> provides a separate development package or SDK, be sure it has been >> installed. > > So I used "port contents opencv" to discover that it in

Re: cmake vs. opencv

2012-06-12 Thread Ryan Schmidt
> On Jun 12, 2012 (Tuesday), at 2:57 AM, Ryan Schmidt wrote: > >> On Jun 11, 2012, at 14:05, Petr Vanek wrote: >> >>> hi all, >>> >>> I'm facing really strange issue. App I want to pack for macports uses cmake >>> for building and OpenCV as a runtime/build dependency. >>> >>> OpenCV is handled

Re: cmake vs. opencv

2012-06-11 Thread Ryan Schmidt
On Jun 11, 2012, at 14:05, Petr Vanek wrote: > hi all, > > I'm facing really strange issue. App I want to pack for macports uses cmake > for building and OpenCV as a runtime/build dependency. > > OpenCV is handled by pkg-config in CMakeLists.txt. But the OpenCV_LIBRARIES > variable is always

cmake vs. opencv

2012-06-11 Thread Petr Vanek
hi all, I'm facing really strange issue. App I want to pack for macports uses cmake for building and OpenCV as a runtime/build dependency. OpenCV is handled by pkg-config in CMakeLists.txt. But the OpenCV_LIBRARIES variable is always empty. Here is a minimal example for CMakeLists.txt: ##