Alan W. Irwin wrote:

> Can anyone explain what is going wrong here? For example, do I have to
> do something extra (i.e., something not required for Qt4) to get
> libplplot exported properly when it links to Qt5?

Even when using Qt 4 you will find the same behavior if you use the imported 
targets instead of the file paths (Qt4::QtCore etc).

If your package publically depends on Qt5, then you need to find it in your 
config file.

 
http://www.cmake.org/cmake/help/git-next/manual/cmake-packages.7.html#creating-packages

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to