changeset 1126:a8c3908ecba9 broker

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Nov 2019 18:54:06 +0100
parents d7e06542304c
children 3308ef083297
files Framework/Oracle/ThreadedOracle.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Oracle/ThreadedOracle.cpp	Tue Nov 05 18:51:04 2019 +0100
+++ b/Framework/Oracle/ThreadedOracle.cpp	Tue Nov 05 18:54:06 2019 +0100
@@ -182,10 +182,12 @@
           runner.SetOrthanc(orthanc_);
           runner.SetRootDirectory(rootDirectory_);
 
+#if ORTHANC_ENABLE_DCMTK == 1
           if (dicomCache_)
           {
             runner.SetDicomCache(dicomCache_);
           }
+#endif
         }
         
         std::auto_ptr<IMessage> message(runner.Run(item.GetCommand()));