Fix static building (on Linux at least).
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 7 Jun 2008 01:36:31 +0000 (03:36 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 7 Jun 2008 01:36:31 +0000 (03:36 +0200)
commit4d01cd257e2bce4434f768b37c19f2701c5dd339
treec9c2fdd57062a1e677b9431812a626c820c91a40
parent424316b7d02939a6815292569abc83e3536803fe
Fix static building (on Linux at least).
Besides using a statically built Qt (and pointing to it using -DQT=/path/to/qt),
you need to pass -DSTATIC=1 to cmake to enable proper linking. It also makes sense
to put static versions of libstdc++ and openssl into ${BUILD_DIR}/staticlibs.
NOTE that ${BUILD_DIR} is the dir you run cmake from, NOT the source dir.
CMakeLists.txt