Re: [CMake] find dynamic libs

2012-07-12 Thread Andreas Pakulat
Hi, On Thu, Jul 12, 2012 at 6:12 PM, Yixun Liu wrote: > 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 do you know that? Whats the actual content of the variable? Which platform are you

[CMake] find dynamic libs

2012-07-12 Thread Yixun Liu
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 -- Powered by www.kitware.com Visit othe