diff Plugins/Samples/Common/OrthancPlugins.cmake @ 2138:41b70d5b44c9

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 15:18:03 +0100
parents a412ad57f0f9
children fead5549aaa7
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPlugins.cmake	Wed Nov 09 15:07:50 2016 +0100
+++ b/Plugins/Samples/Common/OrthancPlugins.cmake	Wed Nov 09 15:18:03 2016 +0100
@@ -17,7 +17,7 @@
 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
   # Linking with "pthread" is necessary, otherwise the software crashes
   # http://sourceware.org/bugzilla/show_bug.cgi?id=10652#c17
-  link_libraries(dl rt)
+  link_libraries(dl rt pthread)
 endif()