[Cmake] enhanced FintQt.cmake
Brad King
brad.king at kitware.com
Wed, 05 May 2004 08:50:40 -0400
Alexander Neundorf wrote:
> Hi,
>
> attached is a new version of FinQt.cmake .
> It uses a variable QT_MT_REQUIRED , which has to be set if you need the
> multithreaded version of Qt, and the variable QT_MIN_VERSION, which has to
> be set to something like "3.1.0". Then it will check whether the currently
> found Qt version has at least this version.
> If not, it quits with MESSAGE(FATAL_ERROR ...). Is this the recommended
> way to bail out in the error case ?
> Additionally I removed the default directories containing "qt3" (since
> this won't fit for other Qt versions) and added /usr/lib/qt/lib.
Please submit this to the bug tracker as a feature request:
http://www.cmake.org/Bug
That way the contribution will be documented.
Thanks,
-Brad