diff Plugins/Samples/Common/OrthancPlugins.cmake @ 2176:fead5549aaa7

introduction of HAS_ORTHANC_EXCEPTION to avoid PluginException if not necessary
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Nov 2016 12:07:36 +0100
parents 41b70d5b44c9
children 395522e46b2b
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPlugins.cmake	Thu Nov 24 12:58:43 2016 +0100
+++ b/Plugins/Samples/Common/OrthancPlugins.cmake	Fri Nov 25 12:07:36 2016 +0100
@@ -27,3 +27,6 @@
 if (MSVC)
   include_directories(${SAMPLES_ROOT}/../../Resources/ThirdParty/VisualStudio/)
 endif()
+
+
+add_definitions(-DORTHANC_HAS_EXCEPTION=0)