Fix compilation using static libs on linux

This commit is contained in:
Eduardo Bart 2012-07-09 20:28:48 -03:00
parent e7691b873b
commit 77648a2ffa
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ IF(WIN32)
ELSE() ELSE()
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -rdynamic") SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -rdynamic")
SET(ADDITIONAL_LIBRARIES X11 dl) SET(ADDITIONAL_LIBRARIES X11 dl rt)
ENDIF() ENDIF()