changeset 220:d050ad099ed1

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Apr 2018 19:50:03 +0200
parents 337a03b31fc4
children c1b361117062
files CMakeLists.txt
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Tue Apr 17 14:53:35 2018 +0200
+++ b/CMakeLists.txt	Tue Apr 17 19:50:03 2018 +0200
@@ -105,6 +105,10 @@
 
 include_directories(${ORTHANC_ROOT}/Core)  # To access "OrthancException.h"
 
+add_definitions(
+  -DHAS_ORTHANC_EXCEPTION=1
+  )
+
 set(CORE_SOURCES
   Plugin/Configuration.cpp
   Plugin/Dicom.cpp