MESSAGE ( STATUS "=======================================")
MESSAGE ( STATUS "Looking for GDCM... found")
MESSAGE ( STATUS "* Dir = ${GDCM_DIR}")
MESSAGE ( STATUS "* Version = ${GDCM_MAJOR_VERSION}.${GDCM_MINOR_VERSION}.${GDCM_BUILD_VERSION}")
MESSAGE ( STATUS "* Namespace = ${GDCM_NAME_SPACE}")
MESSAGE ( STATUS "=======================================")
MESSAGE ( STATUS "Looking for GDCM... found")
MESSAGE ( STATUS "* Dir = ${GDCM_DIR}")
MESSAGE ( STATUS "* Version = ${GDCM_MAJOR_VERSION}.${GDCM_MINOR_VERSION}.${GDCM_BUILD_VERSION}")
MESSAGE ( STATUS "* Namespace = ${GDCM_NAME_SPACE}")
# Test that GDCM_NAME_SPACE is **NOT** "gdcm" or will conflict with
# embedded gdcm in ITK and will result in hard seg faults !
IF(USE_ITK)
# Test that GDCM_NAME_SPACE is **NOT** "gdcm" or will conflict with
# embedded gdcm in ITK and will result in hard seg faults !
IF(USE_ITK)
MESSAGE(FATAL_ERROR "GDCM_NAME_SPACE value is 'gdcm' which conflicts with ITK embededd gdcm namespace : rebuild gdcm with another GDCM_NAME_SPACE value")
ENDIF (GDCM_NAME_SPACE STREQUAL "gdcm")
ENDIF(USE_ITK)
MESSAGE(FATAL_ERROR "GDCM_NAME_SPACE value is 'gdcm' which conflicts with ITK embededd gdcm namespace : rebuild gdcm with another GDCM_NAME_SPACE value")
ENDIF (GDCM_NAME_SPACE STREQUAL "gdcm")
ENDIF(USE_ITK)
IF(NOT ${GDCM_MAJOR_VERSION} EQUAL 2)
MESSAGE(FATAL_ERROR "gdcm version 2 needed. found ${GDCM_MAJOR_VERSION}.${GDCM_MINOR_VERSION}.${GDCM_BUILD_VERSION}. Set GDCM_DIR to the gdcm version 2 directory")
ENDIF(NOT ${GDCM_MAJOR_VERSION} EQUAL 2)
IF(NOT ${GDCM_MAJOR_VERSION} EQUAL 2)
MESSAGE(FATAL_ERROR "gdcm version 2 needed. found ${GDCM_MAJOR_VERSION}.${GDCM_MINOR_VERSION}.${GDCM_BUILD_VERSION}. Set GDCM_DIR to the gdcm version 2 directory")
ENDIF(NOT ${GDCM_MAJOR_VERSION} EQUAL 2)
MESSAGE(FATAL_ERROR "GDCM_NAME_SPACE value is 'gdcm' which conflicts with ITK embededd gdcm namespace : rebuild gdcm with another GDCM_NAME_SPACE value")
ENDIF (GDCM_NAME_SPACE STREQUAL "gdcm")
ENDIF(USE_ITK)
MESSAGE(FATAL_ERROR "GDCM_NAME_SPACE value is 'gdcm' which conflicts with ITK embededd gdcm namespace : rebuild gdcm with another GDCM_NAME_SPACE value")
ENDIF (GDCM_NAME_SPACE STREQUAL "gdcm")
ENDIF(USE_ITK)
MESSAGE ( STATUS "Looking for boost C++ library... - found in ${Boost_INCLUDE_DIR}")
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS} )
MESSAGE ( STATUS "Looking for boost C++ library... - found in ${Boost_INCLUDE_DIR}")
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS} )
#libboost_signals-vc71-mt-1_37
#libboost_filesystem-vc71-mt-1_37
#boost_date_time-vc71-mt-1_37
#libboost_signals-vc71-mt-1_37
#libboost_filesystem-vc71-mt-1_37
#boost_date_time-vc71-mt-1_37
MARK_AS_ADVANCED(Boost_INCLUDE_DIR)
ELSE(Boost_FOUND)
MESSAGE(FATAL_ERROR "boost C++ library not found - Set Boost_INCLUDE_DIR to the directory containing boost headers")
MARK_AS_ADVANCED(Boost_INCLUDE_DIR)
ELSE(Boost_FOUND)
MESSAGE(FATAL_ERROR "boost C++ library not found - Set Boost_INCLUDE_DIR to the directory containing boost headers")