comparison OrthancServer/Plugins/Samples/StorageCommitmentScp/CMakeLists.txt @ 4050:cd363608551a framework

fix paths
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 11:44:48 +0200
parents d25f4c0fa160
children 3d6ee570cfb2
comparison
equal deleted inserted replaced
4049:47e9e788224c 4050:cd363608551a
7 SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") 7 SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages")
8 8
9 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") 9 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp")
10 SET(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of boost") 10 SET(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of boost")
11 11
12 set(SAMPLES_ROOT ${CMAKE_SOURCE_DIR}/..) 12 include(${CMAKE_SOURCE_DIR}/../Common/OrthancPlugins.cmake)
13 include(${SAMPLES_ROOT}/Common/OrthancPlugins.cmake) 13 include(${CMAKE_SOURCE_DIR}/../../../../OrthancFramework/Resources/CMake/JsonCppConfiguration.cmake)
14 include(${ORTHANC_ROOT}/Resources/CMake/JsonCppConfiguration.cmake) 14 include(${CMAKE_SOURCE_DIR}/../../../../OrthancFramework/Resources/CMake/BoostConfiguration.cmake)
15 include(${ORTHANC_ROOT}/Resources/CMake/BoostConfiguration.cmake)
16 15
17 add_library(StorageCommitmentScp SHARED 16 add_library(StorageCommitmentScp SHARED
18 Plugin.cpp 17 Plugin.cpp
19 ../Common/OrthancPluginCppWrapper.cpp 18 ../Common/OrthancPluginCppWrapper.cpp
20 ${JSONCPP_SOURCES} 19 ${JSONCPP_SOURCES}