/usr/lib/gdcm-2.0/GDCMConfig.cmake is in libgdcm2-dev 2.0.18-7.
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 | #-----------------------------------------------------------------------------
#
# GDCMConfig.cmake - CMake configuration file for external projects.
#
# This file is configured by GDCM and used by the UseGDCM.cmake
# module to load GDCM's settings for an external project.
# The GDCM version number.
SET(GDCM_MAJOR_VERSION "2")
SET(GDCM_MINOR_VERSION "0")
SET(GDCM_BUILD_VERSION "18")
# The libraries.
SET(GDCM_LIBRARIES "")
# The CMake macros dir.
SET(GDCM_CMAKE_DIR "")
# The configuration options.
SET(GDCM_BUILD_SHARED_LIBS "ON")
SET(GDCM_USE_VTK "ON")
# The "use" file.
SET(GDCM_USE_FILE "")
# The VTK options.
IF(GDCM_USE_VTK)
SET(GDCM_VTK_DIR "")
ENDIF(GDCM_USE_VTK)
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
if(EXISTS ${SELF_DIR}/GDCMTargets.cmake)
# This is an install tree
include(${SELF_DIR}/GDCMTargets.cmake)
get_filename_component(GDCM_INCLUDE_ROOT "${SELF_DIR}/../../include/gdcm-2.0" ABSOLUTE)
set(GDCM_INCLUDE_DIRS ${GDCM_INCLUDE_ROOT})
else(EXISTS ${SELF_DIR}/GDCMTargets.cmake)
if(EXISTS ${SELF_DIR}/GDCMExports.cmake)
# This is a build tree
SET( GDCM_INCLUDE_DIRS /build/buildd/gdcm-2.0.18/Source/Common;/build/buildd/gdcm-2.0.18/obj-x86_64-linux-gnu/Source/Common;/build/buildd/gdcm-2.0.18/Source/DataStructureAndEncodingDefinition;/build/buildd/gdcm-2.0.18/Source/MediaStorageAndFileFormat;/build/buildd/gdcm-2.0.18/Source/DataDictionary;/build/buildd/gdcm-2.0.18/Source/InformationObjectDefinition;/build/buildd/gdcm-2.0.18/Utilities/VTK)
include(${SELF_DIR}/GDCMExports.cmake)
else(EXISTS ${SELF_DIR}/GDCMExports.cmake)
message(FATAL_ERROR "ooops")
endif(EXISTS ${SELF_DIR}/GDCMExports.cmake)
endif(EXISTS ${SELF_DIR}/GDCMTargets.cmake)
set(GDCM_USE_FILE ${SELF_DIR}/UseGDCM.cmake)
# Backward compatible part:
SET(GDCM_FOUND TRUE)
|