mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-18 12:32:05 +00:00
(#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:

committed by
GitHub

parent
a80010757c
commit
57863a3169
@@ -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
|
||||
|
Reference in New Issue
Block a user