Warning, /geant4/examples/extended/medical/DICOM/cmake/DICOMConfig.cmake.in is written in an unsupported language. File is not indexed.
0001 set(@PROJECT_NAME@_VERSION @Geant4_VERSION@)
0002
0003 @PACKAGE_INIT@
0004
0005 set_and_check(@PROJECT_NAME@_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
0006
0007 check_required_components(@PROJECT_NAME@)
0008
0009 include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_TARGETS_FILE@)
0010
0011 set(@PROJECT_NAME@_INCLUDE_DIRS ${@PROJECT_NAME@_INCLUDE_DIR})
0012 set(@PROJECT_NAME@_LIBRARIES DICOM-library@_geant4_lib_use_suffix@)
0013
0014 set(DICOM_USE_DCMTK @DICOM_USE_DCMTK@)
0015 set(DICOM_USE_HEAD @DICOM_USE_HEAD@)
0016
0017 if(DICOM_USE_DCMTK)
0018 set(dicomReader_DIR ${CMAKE_CURRENT_LIST_DIR}
0019 CACHE PATH "Path to dicomReader configuration")
0020 find_package(dicomReader @Geant4_VERSION@ EXACT REQUIRED)
0021 list(APPEND DICOM_INCLUDE_DIRS ${dicomReader_INCLUDE_DIRS})
0022 list(APPEND DICOM_LIBRARIES ${dicomReader_LIBRARIES})
0023 add_definitions(-DG4_DCMTK)
0024 endif(DICOM_USE_DCMTK)
0025
0026 if(DICOM_USE_HEAD)
0027 add_definitions(-DDICOM_USE_HEAD)
0028 endif(DICOM_USE_HEAD)
0029
0030 set(@PROJECT_NAME@_FOUND ON)