If MITK_USE_BOOST_LIEBRERIES is used to trigger the building of boost libs in the superbuild, it sets –DBOOST_ALL_DYN_LINK.
BOOST_ALL_DYN_LINK overwrites any BOOST_DATE_TIME_NO_LIB definition used in mitk code.
BOOST_DATE_TIME_NO_LIB is used in the new DicomReader see T17819 to keep it header only despite the use of boost date time.
As soon as MITK_USE_BOOST_LIEBRERIES is activated it causes linker errors even though we are header only.
Currently the solution with the best benefit/cost ratio found was to localy undef BOOST_ALL_DYN_LINK.