[CMake] find dynamic libs

Yixun Liu yxliuwm at gmail.com
Thu Jul 12 12:12:01 EDT 2012


Hi,
I am using FIND_PACKAGE(Qt4 REQUIRED) in the CMakeLists to find Qt libs.
QT_LIBRARIES gives me QtGui, QtSql and QtCore, which are static libs.
How to force FIND_PACKAGE to find the dynamic libs: QtGui4, QtSql4 and
QtCore4?

Thank you in advance!

Yixun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120712/2200f710/attachment.htm>


More information about the CMake mailing list