comparison CMakeLists.txt @ 80:83496e713a8e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Sep 2015 12:37:49 +0200
parents abdde1dfb3eb
children 3b7bab1e9ea2
comparison
equal deleted inserted replaced
79:abdde1dfb3eb 80:83496e713a8e
57 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JavaScriptLibraries.cmake) 57 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JavaScriptLibraries.cmake)
58 58
59 59
60 # Check that the Orthanc SDK headers are available or download them 60 # Check that the Orthanc SDK headers are available or download them
61 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) 61 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK)
62 include_directories(${ORTHANC_ROOT}/Sdk-0.9.1) 62 include_directories(${ORTHANC_ROOT}/Sdk-0.9.4)
63 else () 63 else ()
64 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) 64 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H)
65 if (NOT HAVE_ORTHANC_H) 65 if (NOT HAVE_ORTHANC_H)
66 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") 66 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK")
67 endif() 67 endif()