comparison CMakeLists.txt @ 34:86299731dc4e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 Jun 2015 16:37:42 +0200
parents 111689a2c177
children 6a455e6a7df4
comparison
equal deleted inserted replaced
33:d7bd116777eb 34:86299731dc4e
62 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JavaScriptLibraries.cmake) 62 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JavaScriptLibraries.cmake)
63 63
64 64
65 # Check that the Orthanc SDK headers are available or download them 65 # Check that the Orthanc SDK headers are available or download them
66 if (STATIC_BUILD) 66 if (STATIC_BUILD)
67 set(ORTHANC_SDK_URL "http://orthanc.googlecode.com/hg-history/Orthanc-0.8.6") 67 set(ORTHANC_SDK_URL "http://orthanc.googlecode.com/hg")
68 #set(ORTHANC_SDK_URL "http://orthanc.googlecode.com/hg-history/Orthanc-0.8.6")
68 file(MAKE_DIRECTORY ${AUTOGENERATED_DIR}/orthanc) 69 file(MAKE_DIRECTORY ${AUTOGENERATED_DIR}/orthanc)
69 file(DOWNLOAD "${ORTHANC_SDK_URL}/Plugins/Include/OrthancCPlugin.h" 70 file(DOWNLOAD "${ORTHANC_SDK_URL}/Plugins/Include/orthanc/OrthancCPlugin.h"
70 "${AUTOGENERATED_DIR}/orthanc/OrthancCPlugin.h" SHOW_PROGRESS) 71 "${AUTOGENERATED_DIR}/orthanc/OrthancCPlugin.h" SHOW_PROGRESS)
71 if (${MSVC}) 72 if (${MSVC})
72 add_definitions(-D_CRT_SECURE_NO_WARNINGS=1) 73 add_definitions(-D_CRT_SECURE_NO_WARNINGS=1)
73 file(DOWNLOAD "${ORTHANC_SDK_URL}/Resources/ThirdParty/VisualStudio/stdint.h" 74 file(DOWNLOAD "${ORTHANC_SDK_URL}/Resources/ThirdParty/VisualStudio/stdint.h"
74 "${AUTOGENERATED_DIR}/stdint.h" SHOW_PROGRESS) 75 "${AUTOGENERATED_DIR}/stdint.h" SHOW_PROGRESS)