Explicitly link to pthread for Linux builds

This fixes a GCC 7 linker error, as in #8.
This commit is contained in:
Oliver Hamlet
2017-07-17 16:58:41 +01:00
committed by GitHub
parent c4c70d2552
commit 6ef398cce2
+2 -1
View File
@@ -278,7 +278,8 @@ IF (CMAKE_COMPILER_IS_GNUCXX)
curl
z
crypto
rt)
rt
pthread)
ENDIF ()
IF (MSVC)