Mercurial > hg > orthanc-stone
comparison Applications/Samples/RtViewerPlugin/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 | 65eccce95882 |
comparison
equal
deleted
inserted
replaced
1543:4cfdaf4ef3fe | 1544:8ddf77198ed7 |
---|---|
43 set(ENABLE_MODULE_JOBS OFF) | 43 set(ENABLE_MODULE_JOBS OFF) |
44 set(ENABLE_MODULE_DICOM OFF) | 44 set(ENABLE_MODULE_DICOM OFF) |
45 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) | 45 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) |
46 endif() | 46 endif() |
47 | 47 |
48 include(${CMAKE_SOURCE_DIR}/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) | 48 include(${CMAKE_SOURCE_DIR}/../../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) |
49 | 49 |
50 | 50 |
51 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) | 51 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) |
52 include_directories(${CMAKE_SOURCE_DIR}/Resources/OrthancSdk-1.0.0) | 52 include_directories(${CMAKE_SOURCE_DIR}/../../Resources/Orthanc/Sdk-1.0.0) |
53 else () | 53 else () |
54 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) | 54 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) |
55 if (NOT HAVE_ORTHANC_H) | 55 if (NOT HAVE_ORTHANC_H) |
56 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") | 56 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") |
57 endif() | 57 endif() |
81 ) | 81 ) |
82 | 82 |
83 add_library(RtViewerPlugin SHARED | 83 add_library(RtViewerPlugin SHARED |
84 Plugin.cpp | 84 Plugin.cpp |
85 ${AUTOGENERATED_SOURCES} | 85 ${AUTOGENERATED_SOURCES} |
86 ${CMAKE_SOURCE_DIR}/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp | 86 ${CMAKE_SOURCE_DIR}/../../Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp |
87 ${ORTHANC_CORE_SOURCES} | 87 ${ORTHANC_CORE_SOURCES} |
88 ) | 88 ) |
89 | 89 |
90 set_target_properties(RtViewerPlugin PROPERTIES | 90 set_target_properties(RtViewerPlugin PROPERTIES |
91 VERSION ${ORTHANC_PLUGIN_VERSION} | 91 VERSION ${ORTHANC_PLUGIN_VERSION} |