)
ENDIF(${BBTK_PACKAGE_NAME}_USE_QT)
+#----------
+
IF(${BBTK_PACKAGE_NAME}_USE_GDCM)
- SET(USE_GDCM OFF CACHE BOOL "Use GDCM" )
+ SET(USE_GDCM ON CACHE BOOL "Use GDCM" )
SET(USE_GDCM2 OFF CACHE BOOL "Use GDCM2" )
SET(USE_GDCM_VTK ON CACHE BOOL "Use GDCM_VTK" FORCE)
SET(${BBTK_PACKAGE_NAME}_LIBS
${${BBTK_PACKAGE_NAME}_LIBS}
${GDCM_LIBRARIES}
)
-
IF(USE_GDCM)
IF(USE_GDCM2)
- message(FATAL_ERROR "we have to choose between DICOM library readers")
+ message(FATAL_ERROR "You cannot select both GDCM and GDCM2 (DICOM library readers)")
ENDIF(USE_GDCM2)
ENDIF(USE_GDCM)
ENDIF(${BBTK_PACKAGE_NAME}_USE_GDCM)
+#----------
+
IF(${BBTK_PACKAGE_NAME}_USE_GDCM2)
SET(USE_GDCM2 ON CACHE BOOL "Use GDCM2" FORCE)
SET(USE_GDCM2_VTK ON CACHE BOOL "Use GDCM2_VTK" FORCE)
${${BBTK_PACKAGE_NAME}_LIBS}
${GDCM2_LIBRARIES}
)
+ IF(USE_GDCM2)
+ IF(USE_GDCM)
+ message(FATAL_ERROR "You cannot select both GDCM and GDCM2 (DICOM library readers)")
+ ENDIF(USE_GDCM)
+ ENDIF(USE_GDCM2)
ENDIF(${BBTK_PACKAGE_NAME}_USE_GDCM2)
+#----------
IF(${BBTK_PACKAGE_NAME}_USE_GSMIS)
SET(USE_GSMIS ON CACHE BOOL "Use GSMIS" FORCE)
ENDIF(${BBTK_PACKAGE_NAME}_USE_WXWIDGETS)
-
#---------------------------------------------------------------------------
MESSAGE(STATUS "")