changeset 3596:0afd3c7d8ad2

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jan 2020 18:07:25 +0100
parents 0080c9b492e5
children e1904cfdca2c
files Resources/CMake/DcmtkConfigurationStatic-3.6.4.cmake
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfigurationStatic-3.6.4.cmake	Mon Jan 06 18:02:21 2020 +0100
+++ b/Resources/CMake/DcmtkConfigurationStatic-3.6.4.cmake	Mon Jan 06 18:07:25 2020 +0100
@@ -172,6 +172,13 @@
   ${DCMTK_SOURCES_DIR}/dcmdata/libsrc/dcdict_orthanc.cc
   )
 
+if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
+  # Multithreading is required here
+  list(REMOVE_ITEM DCMTK_SOURCES 
+    ${DCMTK_SOURCES_DIR}/oflog/libsrc/syncprims.cc
+    )
+endif()
+
 
 # Starting with DCMTK 3.6.2, the Nagle algorithm is not disabled by
 # default since this does not seem to be appropriate (anymore) for