fix #2 for pthread/dl

This commit is contained in:
erwincoumans authored and Sam Wenke committed 2018-02-04 11:35:46 -05:00
1 parent b15ac0c5f6
commit 9b9a0c5992
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -120,6 +120,10 @@ ELSE(WIN32)
IF(BUILD_CLSOCKET)
ADD_DEFINITIONS(${OSDEF})
ENDIF(BUILD_CLSOCKET)
IF(NOT APPLE)
TARGET_LINK_LIBRARIES( pthread ${DL} )
ENDIF(APPLE)
ENDIF(WIN32)
IF(BUILD_ENET)
+1 -1
View File
@@ -112,7 +112,7 @@ IF(WIN32)
ELSE()
IF(APPLE)
ELSE(APPLE)
LINK_LIBRARIES( pthread ${DL} )
TARGET_LINK_LIBRARIES( pthread ${DL} )
ENDIF(APPLE)
ENDIF(WIN32)