comparison OrthancFramework/Resources/DcmtkTools/CMakeLists.txt @ 4049:47e9e788224c framework

removing occurrences of ORTHANC_ROOT
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 10:05:26 +0200
parents d25f4c0fa160
children 304842a0d152
comparison
equal deleted inserted replaced
4048:64919a9958bb 4049:47e9e788224c
1 # $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../../Resources/LinuxStandardBaseToolchain.cmake -G Ninja 1 # $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../../Resources/Toolchains/LinuxStandardBaseToolchain.cmake -G Ninja
2 2
3 cmake_minimum_required(VERSION 2.8) 3 cmake_minimum_required(VERSION 2.8)
4 4
5 project(DcmtkTools) 5 project(DcmtkTools)
6 6
7 set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}/../../) 7 include(${CMAKE_SOURCE_DIR}/../../Resources/CMake/Compiler.cmake)
8 include(${ORTHANC_ROOT}/Resources/CMake/Compiler.cmake) 8 include(${CMAKE_SOURCE_DIR}/../../Resources/CMake/DownloadPackage.cmake)
9 include(${ORTHANC_ROOT}/Resources/CMake/DownloadPackage.cmake)
10 9
11 set(STATIC_BUILD ON CACHE BOOL "") 10 set(STATIC_BUILD ON CACHE BOOL "")
12 set(ALLOW_DOWNLOADS ON CACHE BOOL "") 11 set(ALLOW_DOWNLOADS ON CACHE BOOL "")
13 12
14 set(DCMTK_STATIC_VERSION "3.6.5" CACHE STRING "") 13 set(DCMTK_STATIC_VERSION "3.6.5" CACHE STRING "")
16 set(ENABLE_DCMTK_JPEG_LOSSLESS ON CACHE BOOL "") 15 set(ENABLE_DCMTK_JPEG_LOSSLESS ON CACHE BOOL "")
17 set(ENABLE_DCMTK_LOG ON CACHE BOOL "") 16 set(ENABLE_DCMTK_LOG ON CACHE BOOL "")
18 set(ENABLE_DCMTK_NETWORKING ON CACHE BOOL "") 17 set(ENABLE_DCMTK_NETWORKING ON CACHE BOOL "")
19 set(ENABLE_DCMTK_TRANSCODING ON CACHE BOOL "") 18 set(ENABLE_DCMTK_TRANSCODING ON CACHE BOOL "")
20 19
21 include(${ORTHANC_ROOT}/Resources/CMake/DcmtkConfiguration.cmake) 20 include(${CMAKE_SOURCE_DIR}/../../Resources/CMake/DcmtkConfiguration.cmake)
22 21
23 add_library(dcmtk STATIC 22 add_library(dcmtk STATIC
24 ${CMAKE_SOURCE_DIR}/dummy.cpp 23 ${CMAKE_SOURCE_DIR}/dummy.cpp
25 ${DCMTK_SOURCES} 24 ${DCMTK_SOURCES}
26 ) 25 )