Fix compilation using static libs on linux
This commit is contained in:
parent
e7691b873b
commit
77648a2ffa
|
@ -131,7 +131,7 @@ IF(WIN32)
|
|||
ELSE()
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
||||
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -rdynamic")
|
||||
SET(ADDITIONAL_LIBRARIES X11 dl)
|
||||
SET(ADDITIONAL_LIBRARIES X11 dl rt)
|
||||
ENDIF()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue