Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/Plugin/CMakeLists.txt @ 1544:8ddf77198ed7
fixing paths
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2020 14:51:03 +0200 |
parents | d1806b4e4839 |
children | aee0f5f9cf71 |
comparison
equal
deleted
inserted
replaced
1543:4cfdaf4ef3fe | 1544:8ddf77198ed7 |
---|---|
12 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web") | 12 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web") |
13 endif() | 13 endif() |
14 | 14 |
15 | 15 |
16 | 16 |
17 set(STONE_BINARIES "${CMAKE_SOURCE_DIR}/../../wasm-binaries/StoneWebViewer/" CACHE PATH "Path to the binaries of the \"../WebAssembly\" folder") | 17 set(STONE_BINARIES "${CMAKE_SOURCE_DIR}/../../../wasm-binaries/StoneWebViewer/" CACHE PATH "Path to the binaries of the \"../WebAssembly\" folder") |
18 | 18 |
19 # Parameters of the build | 19 # Parameters of the build |
20 set(STATIC_BUILD OFF CACHE BOOL "Static build of the third-party libraries (necessary for Windows)") | 20 set(STATIC_BUILD OFF CACHE BOOL "Static build of the third-party libraries (necessary for Windows)") |
21 set(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") | 21 set(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") |
22 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") | 22 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") |
49 | 49 |
50 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) | 50 include(${CMAKE_SOURCE_DIR}/../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) |
51 | 51 |
52 | 52 |
53 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) | 53 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) |
54 include_directories(${CMAKE_SOURCE_DIR}/../Resources/OrthancSdk-1.0.0) | 54 include_directories(${CMAKE_SOURCE_DIR}/../../Resources/Orthanc/Sdk-1.0.0) |
55 else () | 55 else () |
56 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) | 56 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) |
57 if (NOT HAVE_ORTHANC_H) | 57 if (NOT HAVE_ORTHANC_H) |
58 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") | 58 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") |
59 endif() | 59 endif() |