/usr/lib/x86_64-linux-gnu/gdcm-2.8/UseGDCM.cmake is in libgdcm2-dev 2.8.4-1build2.
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 | #
# 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)
if(NOT GDCM_SKIP_USE_VTK)
set(VTK_DIR ${GDCM_VTK_DIR})
find_package(VTK)
if(VTK_FOUND)
include(${VTK_USE_FILE})
else()
message("VTK not found in GDCM_VTK_DIR=\"${GDCM_VTK_DIR}\".")
endif()
endif()
endif()
endif()
|