Mercurial > hg > orthanc-databases
diff Resources/CMake/DatabasesPluginConfiguration.cmake @ 69:19764fc60ade db-changes
compatibility with Orthanc SDDK 0.9.5
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 Jan 2019 10:07:27 +0100 |
parents | babc1e0eb7f2 |
children | badc89b06477 |
line wrap: on
line diff
--- a/Resources/CMake/DatabasesPluginConfiguration.cmake Mon Dec 24 13:36:44 2018 +0100 +++ b/Resources/CMake/DatabasesPluginConfiguration.cmake Thu Jan 03 10:07:27 2019 +0100 @@ -40,6 +40,12 @@ endif() +add_definitions( + -DHAS_ORTHANC_EXCEPTION=1 + -DORTHANC_ENABLE_PLUGINS=1 + ) + + list(APPEND DATABASES_SOURCES ${ORTHANC_CORE_SOURCES} ${ORTHANC_DATABASES_ROOT}/Framework/Plugins/GlobalProperties.cpp @@ -47,8 +53,7 @@ ${ORTHANC_DATABASES_ROOT}/Framework/Plugins/StorageBackend.cpp ${ORTHANC_ROOT}/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp - # New for "db-changes" - #${ORTHANC_ROOT}/OrthancServer/Search/ISqlLookupFormatter.cpp - #${ORTHANC_ROOT}/OrthancServer/Search/DatabaseConstraint.cpp - #${ORTHANC_ROOT}/OrthancServer/Search/DicomTagConstraint.cpp + # New from "db-changes" + ${ORTHANC_ROOT}/OrthancServer/Search/DatabaseConstraint.cpp + ${ORTHANC_ROOT}/OrthancServer/Search/ISqlLookupFormatter.cpp )