# HG changeset patch # User Sebastien Jodogne # Date 1523987403 -7200 # Node ID d050ad099ed1e6b336bb71c84f5c2458b101258e # Parent 337a03b31fc4560e8c1dc7f8394d9e8709a6aa2b fix diff -r 337a03b31fc4 -r d050ad099ed1 CMakeLists.txt --- 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