/usr/lib/x86_64-linux-gnu/gdcm-2.6/GDCMConfig.cmake is in libgdcm2-dev 2.6.6-3.
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 | #-----------------------------------------------------------------------------
#
# 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 "6")
set(GDCM_BUILD_VERSION "6")
# The libraries.
set(GDCM_LIBRARIES "")
# The CMake macros dir.
set(GDCM_CMAKE_DIR "")
# The configuration options.
set(GDCM_BUILD_SHARED_LIBS "ON")
if(NOT GDCM_SKIP_USE_VTK)
set(GDCM_USE_VTK "ON")
else()
set(GDCM_USE_VTK "OFF")
endif()
# The "use" file.
set(GDCM_USE_FILE "")
# The VTK options.
if(GDCM_USE_VTK)
set(GDCM_VTK_DIR "")
endif()
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.6" ABSOLUTE)
set(GDCM_INCLUDE_DIRS ${GDCM_INCLUDE_ROOT})
get_filename_component(GDCM_LIB_ROOT "${SELF_DIR}/../../../lib/x86_64-linux-gnu" ABSOLUTE)
set(GDCM_LIBRARY_DIRS ${GDCM_LIB_ROOT})
else()
if(EXISTS ${SELF_DIR}/GDCMExports.cmake)
# This is a build tree
set( GDCM_INCLUDE_DIRS "/build/gdcm-amG7MP/gdcm-2.6.6/Source/Common;/build/gdcm-amG7MP/gdcm-2.6.6/obj-x86_64-linux-gnu/Source/Common;/build/gdcm-amG7MP/gdcm-2.6.6/Source/DataStructureAndEncodingDefinition;/build/gdcm-amG7MP/gdcm-2.6.6/Source/MediaStorageAndFileFormat;/build/gdcm-amG7MP/gdcm-2.6.6/Source/MessageExchangeDefinition;/build/gdcm-amG7MP/gdcm-2.6.6/Source/DataDictionary;/build/gdcm-amG7MP/gdcm-2.6.6/Source/InformationObjectDefinition;/build/gdcm-amG7MP/gdcm-2.6.6/Utilities/VTK")
set(GDCM_LIBRARY_DIRS "/build/gdcm-amG7MP/gdcm-2.6.6/obj-x86_64-linux-gnu/bin/.")
include(${SELF_DIR}/GDCMExports.cmake)
else()
message(FATAL_ERROR "ooops")
endif()
endif()
set(GDCM_USE_FILE ${SELF_DIR}/UseGDCM.cmake)
# Backward compatible part:
set(GDCM_FOUND TRUE)
|