/usr/lib/gdcm-2.2/UseGDCM.cmake is in libgdcm2-dev 2.2.4-1.1ubuntu4.
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 | #
# This module is provided as GDCM_USE_FILE by GDCMConfig.cmake.
# It can be INCLUDEd in a project to load the needed compiler and linker
# settings to use GDCM:
# FIND_PACKAGE(GDCM REQUIRED)
# INCLUDE(${GDCM_USE_FILE})
IF(NOT GDCM_USE_FILE_INCLUDED)
SET(GDCM_USE_FILE_INCLUDED 1)
# Add include directories needed to use GDCM.
INCLUDE_DIRECTORIES(${GDCM_INCLUDE_DIRS})
# Add link directories needed to use GDCM.
LINK_DIRECTORIES(${GDCM_LIBRARY_DIRS})
# Add cmake module path.
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${GDCM_CMAKE_DIR}")
# Use VTK.
IF(GDCM_USE_VTK)
SET(VTK_DIR ${GDCM_VTK_DIR})
FIND_PACKAGE(VTK)
IF(VTK_FOUND)
INCLUDE(${VTK_USE_FILE})
ELSE(VTK_FOUND)
MESSAGE("VTK not found in GDCM_VTK_DIR=\"${GDCM_VTK_DIR}\".")
ENDIF(VTK_FOUND)
ENDIF(GDCM_USE_VTK)
ENDIF(NOT GDCM_USE_FILE_INCLUDED)
|