[CMake] cmake install qt5 library to Specified directory?

kl222 kl222 at 126.com
Wed Mar 11 02:02:19 EDT 2015


Hello all:
    I thank to install qt5(>=5.3.0) library to sepcified directory. I write:


get_target_property(QtCore_location Qt5::Core LOCATION)
install(files ${QtCore_location} DESTINATION .)

Ok, it is copy /usr/local/Qt-5.5.0/lib/libQt5Core.so.5.5.0 to destination directory, but it don't create libQt5Core.so.5 link. so the programe don't find the library. 

What do I?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150311/e0be5a59/attachment.html>


More information about the CMake mailing list