Просмотр исходного кода

Merge branch '431-easier-re-use-of-finddcmtk'

* 431-easier-re-use-of-finddcmtk:
  Allow FindDCMTK.cmake to be re-used directly adding missing module.
Jean-Christophe Fillion-Robin лет назад: 11
Родитель
Сommit
15dc10d7cf
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Utilities/CMake/FindDCMTK.cmake

+ 1 - 0
Utilities/CMake/FindDCMTK.cmake

@@ -323,6 +323,7 @@ endif()
 # Compatibility: This variable is deprecated
 set(DCMTK_INCLUDE_DIR ${DCMTK_INCLUDE_DIRS})
 
+include(FindPackageHandleStandardArgs)
 find_package_handle_standard_args(DCMTK
   REQUIRED_VARS ${DCMTK_INCLUDE_DIR_NAMES} DCMTK_LIBRARIES
   FAIL_MESSAGE "Please set DCMTK_DIR and re-run configure")