Add -DLINK_EXTRA to the buildsys to allow for specifying additional libs to link
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 13 Mar 2009 15:25:51 +0000 (16:25 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 13 Mar 2009 15:25:51 +0000 (16:25 +0100)
commitb8017f7f0469e47a0e214ae573b08ffc346bd950
treead048ac4199002d7c6c6aaf65cbf405ed35af82a
parentb040ef84cdc254a0b1f083db3151f2724e45d210
Add -DLINK_EXTRA to the buildsys to allow for specifying additional libs to link

This is intended for adding missing libs for static builds, as deps are not always picked
up correctly. As it is highly system- and configuration-specific, we can't hardcode those libs
in the buildsys.

For example, to build a static core with postgres support, I need:
-DLINK_EXTRA=pq,crypt

Also fix a warning for WIN32.
CMakeLists.txt