Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

COMP: Ensure DCMTK_DIR is set in SlicerConfig.cmake

Introduced in r20634, the SlicerConfig variable DCMTK_DIR has never been
set. This commit fix this by updating SlicerGenerateSlicerConfig.cmake
and setting variable DCMTK_DIR_CONFIG.

Extensions should now be able to use variables DCMTK_LIBRARIES
and DCMTK_INCLUDE_DIRS directly after doing: find_package(Slicer)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21854 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
commit 570bed2bbc23c5679a1baad06cbb51aaa4dc445c 1 parent f78a734
@jcfr jcfr authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  CMake/SlicerGenerateSlicerConfig.cmake
View
3  CMake/SlicerGenerateSlicerConfig.cmake
@@ -66,6 +66,9 @@ if(Slicer_USE_BatchMake)
set(BatchMake_DIR_CONFIG ${BatchMake_DIR})
endif()
set(CTK_DIR_CONFIG ${CTK_DIR})
+if(Slicer_BUILD_DICOM_SUPPORT)
+ set(DCMTK_DIR_CONFIG ${DCMTK_DIR})
+endif()
if(Slicer_USE_QtTesting)
set(QtTesting_DIR_CONFIG ${QtTesting_DIR})
endif()
Please sign in to comment.
Something went wrong with that request. Please try again.