Backtrace generation depends on the target system, not the host
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 22 Mar 2014 18:30:21 +0000 (19:30 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 22 Mar 2014 18:33:27 +0000 (19:33 +0100)
commit3dc6e69f93fb1c0af8120e52052fbf513076025c
treeb7cf80b2321cf40ccb1ba3ff062948799c07df54
parent3d3a6b8d34b9d0ab3a2502936c49c0d0d5e91617
Backtrace generation depends on the target system, not the host

We were checking for CMAKE_HOST_WIN32 and CMAKE_HOST_UNIX for determining
which kind of backtrace generation support to build. However, this should
obviously depend on the target platform, not on the platform we build on.

So let's use WIN32 and UNIX instead.
src/common/CMakeLists.txt