Scott Kitterman wrote:

> Given the above, I thought it would make sense to provide a new
> FindPyQt.cmake that would replace (and be backward compatible with)
> FindPyQt4.cmake that would work for both the new and old PyQt4 configure
> and with PyQt5 and have it be actually in CMake so that there would not be
> multiple copies running around.

Did you consider generating config-file packages containing IMPORTED targets 
and shipping them with PyQt5 instead? 

 http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html
 
That removes any need for you to maintain anything in the CMake tree.

Qt5 generates such files with qmake, and LLVM does similar with its Makefile 
buildsystem.

Thanks,

Steve.


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to