Skip to content

Commit

Permalink
Explicitely link all binaries against libm
Browse files Browse the repository at this point in the history
  • Loading branch information
tobydox committed Aug 11, 2011
1 parent a1384d7 commit 4d585da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ IF(WIN32)
ENDIF(WIN32)

INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${ZLIB_INCLUDE_DIR} ${SDL_INCLUDE_DIR})
LINK_LIBRARIES(${ZLIB_LIBRARIES} ${SDL_LIBRARY} ${OPENGL_gl_LIBRARY})
LINK_LIBRARIES(-lm ${ZLIB_LIBRARIES} ${SDL_LIBRARY} ${OPENGL_gl_LIBRARY})
ADD_EXECUTABLE(rtcw-sp ${rtcw_SOURCES})

IF(WIN32)
Expand Down

0 comments on commit 4d585da

Please sign in to comment.