mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
Fix compilation using static libs on linux
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user