Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2137:595cf22b3e7e | 2138:41b70d5b44c9 |
---|---|
15 | 15 |
16 | 16 |
17 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") | 17 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") |
18 # Linking with "pthread" is necessary, otherwise the software crashes | 18 # Linking with "pthread" is necessary, otherwise the software crashes |
19 # http://sourceware.org/bugzilla/show_bug.cgi?id=10652#c17 | 19 # http://sourceware.org/bugzilla/show_bug.cgi?id=10652#c17 |
20 link_libraries(dl rt) | 20 link_libraries(dl rt pthread) |
21 endif() | 21 endif() |
22 | 22 |
23 | 23 |
24 include_directories(${SAMPLES_ROOT}/../Include/) | 24 include_directories(${SAMPLES_ROOT}/../Include/) |
25 | 25 |