Mercurial > hg > orthanc-dicomweb
changeset 35:e629649da518
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Jul 2015 16:16:06 +0200 |
parents | e2345d036e7c |
children | 4f82bdd698d0 |
files | CMakeLists.txt |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Thu Jul 30 15:57:34 2015 +0200 +++ b/CMakeLists.txt Thu Jul 30 16:16:06 2015 +0200 @@ -54,9 +54,6 @@ include(${CMAKE_SOURCE_DIR}/Resources/CMake/GdcmConfiguration.cmake) -# Check that the Orthanc SDK headers are available or download them -set(AUTOGENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR}/AUTOGENERATED) - if (STATIC_BUILD) include_directories(${ORTHANC_ROOT}/Sdk-0.9.1) else () @@ -80,14 +77,14 @@ ${ORTHANC_DICOM_WEB_VERSION} "DICOMweb plugin" OrthancDicomWeb.dll "Plugin to extend Orthanc with the DICOMweb API" ERROR_VARIABLE Failure - OUTPUT_FILE ${AUTOGENERATED_DIR}/Version.rc + OUTPUT_FILE ${CMAKE_CURRENT_BINARY_DIR}/Version.rc ) if (Failure) message(FATAL_ERROR "Error while computing the version information: ${Failure}") endif() - list(APPEND AUTOGENERATED_SOURCES ${AUTOGENERATED_DIR}/Version.rc) + list(APPEND AUTOGENERATED_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/Version.rc) endif() if (CMAKE_COMPILER_IS_GNUCXX)