changeset 5545:f8b9eaa5effa

re-enabling ICU in the multitenant dicom plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 22:07:06 +0100
parents dce22a789a2b
children 42a33df3db3c
files OrthancServer/CMakeLists.txt OrthancServer/Plugins/Samples/MultitenantDicom/OrthancFrameworkDependencies.cpp
diffstat 2 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/CMakeLists.txt	Fri Mar 22 18:56:46 2024 +0100
+++ b/OrthancServer/CMakeLists.txt	Fri Mar 22 22:07:06 2024 +0100
@@ -820,6 +820,7 @@
     --target=MultitenantDicomResources
     --namespace=Orthanc.FrameworkResources
     --framework-path=${CMAKE_SOURCE_DIR}/../OrthancFramework/Sources
+    ${LIBICU_RESOURCES}
     ${DCMTK_DICTIONARIES}
     )
 
--- a/OrthancServer/Plugins/Samples/MultitenantDicom/OrthancFrameworkDependencies.cpp	Fri Mar 22 18:56:46 2024 +0100
+++ b/OrthancServer/Plugins/Samples/MultitenantDicom/OrthancFrameworkDependencies.cpp	Fri Mar 22 22:07:06 2024 +0100
@@ -20,17 +20,6 @@
  **/
 
 
-/**
- * Remove the dependency upon ICU in plugins, as this greatly increase
- * the size of the resulting binaries, since they must embed the ICU
- * dictionary.
- **/
-
-#define ORTHANC_ENABLE_ICU 0
-#define ORTHANC_FRAMEWORK_INCLUDE_RESOURCES 0
-
-#include <MultitenantDicomResources.h>
-
 #if defined(_WIN32)
 #  if !defined(NOMINMAX)
 #    define NOMINMAX