Hi,

 Is there a way to specify to FIND_PACKAGE (when in Module mode) a path
on which to find Qt4, we have a system that has Qt3 (hence qmake)
installed as a system package, and we have build Qt4 in our sandbox, and
would like CMake to find that instead of Qt3. Before calling
FIND_PACKAGE we set QTDIR to the correct path of the built QT4 sandbox,
but it still finds the system qt3 one.

 Any attempt to tweak the FIND_PACKAGE line makes it go to a CONFIG mode
and then it just doesn't work. 

 

 Any ideas?

 

 Cheers

 

 Matthew

 

_______________________________________________
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

Reply via email to