Debian package was compiled using gnu++11 which is not anymore the
default for current gcc. Set it to c++14 to take advantage of latest
compilation optimization.
https://support.dcmtk.org/docs/cxx11_support.html
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_DATADIC:STRING=share/libdcmtk16 \
-DCMAKE_SKIP_RPATH:BOOL=OFF \
- -DDCMTK_USE_CXX11_STL:BOOL=ON \
- -DDCMTK_ENABLE_CXX11:BOOL=ON
-
+ -DCMAKE_CXX_STANDARD:STRING=14
override_dh_auto_configure:
dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)