On Wed, Jan 13, 2010 at 1:07 PM, James Willis <[email protected]> wrote: > Is there any good way of telling findqt (I don't really care about findqt3) > where to find Qt? > > Like say you did: > set(QT_QMAKE_LOCATION /home/myself/qt4.6.0/bin) > so that I later upgrade and do: > set(QT_QMAKE_LOCATION /home/myself/qt4.6.1/bin) later without having to muck > with my path, but still have findQt find Qt there? > > I was looking at writing such a feature, if it's not there, and if you'd be > willing to take it as a patch. >
I am pretty sure you can pass this on the command line to cmake instead of polluting your CMakeLists.txt with installation specific data. John _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
