Mercurial > hg > orthanc
changeset 2395:9496ca5b25ac
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Aug 2017 16:37:59 +0200 |
parents | 75c779ca948c |
children | c244a61a5fd8 |
files | Resources/CMake/OrthancFrameworkConfiguration.cmake |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake Wed Aug 30 16:23:10 2017 +0200 +++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake Wed Aug 30 16:37:59 2017 +0200 @@ -309,6 +309,10 @@ message(FATAL_ERROR "Support for locales must be enabled if enabling DICOM support") endif() + if (NOT HAS_EMBEDDED_RESOURCES) + message(FATAL_ERROR "HAS_EMBEDDED_RESOURCES must be set to ON if enabling DICOM support") + endif() + include(${CMAKE_CURRENT_LIST_DIR}/DcmtkConfiguration.cmake) add_definitions(-DORTHANC_ENABLE_DCMTK=1)