Starting from DCMTK 3.6.8, upstream added a new alternative implementation for character set conversions which doesn't require libiconv or ICU. They call it oficonv. The CMake scripts now use this by default, and it is not possible to switch to libiconv or ICU with the Conan recipe.
Details: In DCMTK 3.6.7 and earlier, the CMake scripts would automatically set the DCMTK_ENABLE_CHARSET_CONVERSION variable to the right implementation (libiconv or ICU) based on the available third-party libraries, i.e., based on whether DCMTK_WITH_ICONV or DCMTK_WITH_ICU are set. The Conan recipe is currently relying on this mechanism to select the right implementation.
In 3.6.8, the CMake scripts defaults DCMTK_ENABLE_CHARSET_CONVERSION to oficonv regardless of the value of DCMTK_WITH_ICONV and DCMTK_WITH_ICU. To select another implementation, one needs to explicitly set DCMTK_ENABLE_CHARSET_CONVERSION. The Conan recipe does not do that, therefore the implementation is always set to oficonv.
Description
Starting from DCMTK 3.6.8, upstream added a new alternative implementation for character set conversions which doesn't require
libiconv
orICU
. They call itoficonv
. The CMake scripts now use this by default, and it is not possible to switch tolibiconv
orICU
with the Conan recipe.Details: In DCMTK 3.6.7 and earlier, the CMake scripts would automatically set the
DCMTK_ENABLE_CHARSET_CONVERSION
variable to the right implementation (libiconv
orICU
) based on the available third-party libraries, i.e., based on whetherDCMTK_WITH_ICONV
orDCMTK_WITH_ICU
are set. The Conan recipe is currently relying on this mechanism to select the right implementation.In 3.6.8, the CMake scripts defaults
DCMTK_ENABLE_CHARSET_CONVERSION
tooficonv
regardless of the value ofDCMTK_WITH_ICONV
andDCMTK_WITH_ICU
. To select another implementation, one needs to explicitly setDCMTK_ENABLE_CHARSET_CONVERSION
. The Conan recipe does not do that, therefore the implementation is always set tooficonv
.Package and Environment Details
Conan profile
Steps to reproduce
conanfile.py
(excerpt):Logs
Output of
cat
command above: