I suppose the best way to force linking with -lm is to use something like this
in CMakeLists.txt:
IF (UNIX AND NOT APPLE)
TARGET_LINK_LIBRARIES (doomsday m)
ENDIF()
There already are a couple of TARGET_LINK_LIBRARIES defined in CMakeLists.txt,
the m could also be added to one of those.
Good evening,
On 04/14/2011 01:58 PM, Jaakko Keränen wrote:
Well, at least I can say that currently the master branch is compiling nicely
in Squeeze (64-bit) -- although it crashes (maybe exits with an error) when I
try to start a game.
I haven't tried compiling the old beta6.9 release
2 matches
Mail list logo