Mercurial > hg > orthanc
changeset 2686:fb2d89acc2d1 jobs
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 28 Jun 2018 12:15:21 +0200 |
parents | 6801f99bbc2f |
children | c211c5cb501e |
files | Resources/CMake/OrthancFrameworkConfiguration.cmake |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake Wed Jun 27 15:09:11 2018 +0200 +++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake Thu Jun 28 12:15:21 2018 +0200 @@ -524,9 +524,11 @@ if (HAS_EMBEDDED_RESOURCES) add_definitions(-DORTHANC_HAS_EMBEDDED_RESOURCES=1) - list(APPEND ORTHANC_CORE_SOURCES_INTERNAL - ${ORTHANC_ROOT}/Core/HttpServer/EmbeddedResourceHttpHandler.cpp - ) + if (ENABLE_WEB_SERVER) + list(APPEND ORTHANC_CORE_SOURCES_INTERNAL + ${ORTHANC_ROOT}/Core/HttpServer/EmbeddedResourceHttpHandler.cpp + ) + endif() else() add_definitions(-DORTHANC_HAS_EMBEDDED_RESOURCES=0) endif()