/usr/lib/x86_64-linux-gnu/cmake/DICOMConfig.cmake is in libvtkdicom0.7 0.7.10-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | #-----------------------------------------------------------------------------
#
# DICOMConfig.cmake - cmake configuration file for external projects.
#
#-----------------------------------------------------------------------------
# The C and C++ flags added to the cmake-configured flags.
set(DICOM_REQUIRED_C_FLAGS "")
set(DICOM_REQUIRED_CXX_FLAGS "")
# The version number
set(DICOM_MAJOR_VERSION "0")
set(DICOM_MINOR_VERSION "7")
set(DICOM_PATCH_VERSION "10")
# Legacy (for backwards compatibility)
set(DICOM_BUILD_VERSION "${DICOM_PATCH_VERSION}")
# Configured settings
set(DICOM_BUILD_SHARED_LIBS "ON")
set(DICOM_USE_ITK_GDCM "OFF")
set(DICOM_USE_GDCM "ON")
set(DICOM_USE_DCMTK "OFF")
# Auto-configured settings
set(DICOM_USE_VTKZLIB "OFF")
# Dependencies
set(DICOM_VTK_DIR "/usr/lib/cmake/vtk-6.3")
if(NOT VTK_FOUND)
find_package(VTK PATHS "${DICOM_VTK_DIR}")
else()
get_filename_component(tmp1 "${DICOM_VTK_DIR}" REALPATH)
get_filename_component(tmp2 "${VTK_DIR}" REALPATH)
if(NOT "${tmp1}" STREQUAL "${tmp2}")
message(WARNING
"Mismatch for VTK between vtk-dicom and current project: "
"DICOM_DIR=${DICOM_DIR} "
"VTK_DICOM_DIR=${DICOM_VTK_DIR} "
"VTK_DIR=${VTK_DIR}")
endif()
endif()
if(DICOM_USE_ITK_GDCM)
set(DICOM_ITK_DIR "")
if(NOT DICOM_BUILD_SHARED_LIBS AND NOT ITK_FOUND)
find_package(ITK PATHS "${DICOM_ITK_DIR}")
endif()
elseif(DICOM_USE_GDCM)
set(DICOM_GDCM_DIR "/usr/lib/x86_64-linux-gnu/gdcm-2.8")
if(NOT DICOM_BUILD_SHARED_LIBS AND NOT GDCM_FOUND)
find_package(GDCM PATHS "${DICOM_GDCM_DIR}")
endif()
endif()
# Get the current directory
get_filename_component(DICOM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
# The location of the "use" file.
set(DICOM_USE_FILE "${DICOM_CMAKE_DIR}/UseDICOM.cmake")
# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET vtkDICOM AND NOT DICOM_BINARY_DIR)
include("${DICOM_CMAKE_DIR}/DICOMTargets.cmake")
endif()
# Compute paths
set(DICOM_INCLUDE_DIRS "${DICOM_PGK_DIR}/../../../include")
set(DICOM_LIBRARY_DIRS "${DICOM_PGK_DIR}/../")
# These are IMPORTED targets created by DICOMTargets.cmake
set(DICOM_LIBRARIES vtkDICOM)
|