(#11126) dcmtk: Correctly enable DCMTK_ENABLE_STL

Dcmtk explicitly compares the value of DCMTK_ENABLE_STL with the
string "ON". This will hopefully be fixed with
https://github.com/DCMTK/dcmtk/pull/60 but this makes the recipe work
correctly with already released versions of Dcmtk.
This commit is contained in:
Thomas Sondergaard
2022-06-22 09:43:55 +02:00
committed by GitHub
parent a80010757c
commit 57863a3169

View File

@@ -146,7 +146,7 @@ class DCMTKConan(ConanFile):
if self.options.with_zlib:
cmake.definitions["WITH_ZLIBINC"] = self.deps_cpp_info["zlib"].rootpath
cmake.definitions["DCMTK_ENABLE_STL"] = True
cmake.definitions["DCMTK_ENABLE_STL"] = "ON"
cmake.definitions["DCMTK_ENABLE_CXX11"] = True
cmake.definitions["DCMTK_ENABLE_MANPAGE"] = False