Parcourir la source

added CMAKE_THREAD_LIBS_INIT to CMakeLists

Max von Buelow il y a 6 ans
Parent
commit
bf4685cdbb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -11,4 +11,4 @@ find_package(Milter REQUIRED)
 
 include_directories(${Milter_INCLUDE_DIRS})
 add_executable(milterfrom milterfrom.c)
-target_link_libraries(milterfrom ${Milter_LIBRARY})
+target_link_libraries(milterfrom ${Milter_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})