Explorar o código

added CMAKE_THREAD_LIBS_INIT to CMakeLists

Max von Buelow %!s(int64=7) %!d(string=hai) anos
pai
achega
bf4685cdbb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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})