Browse Source

added missing pthread lib

Nicolas Cannasse 8 years ago
parent
commit
5ce96732f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -106,7 +106,7 @@ if(WIN32)
 	target_link_libraries(libhl ws2_32 user32)
 	target_link_libraries(libhl ws2_32 user32)
 	target_link_libraries(hl user32)
 	target_link_libraries(hl user32)
 else()
 else()
-    target_link_libraries(libhl m dl)
+    target_link_libraries(libhl m dl pthread)
 endif()
 endif()
 
 
 #####################
 #####################