Skip to content

Commit

Permalink
remove openssl patching
Browse files Browse the repository at this point in the history
useless now that #4597 is merged
  • Loading branch information
ericLemanissier authored Mar 16, 2021
1 parent 84408a6 commit 54ffc53
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions recipes/civetweb/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ def source(self):
tools.get(**self.conan_data["sources"][self.version])
os.rename("civetweb-%s" % self.version, self._source_subfolder)

def _patch_sources(self):
cmakelists_src = os.path.join(self._source_subfolder, "src", "CMakeLists.txt")
tools.replace_in_file(cmakelists_src, "${OPENSSL_INCLUDE_DIR}", "${OpenSSL_INCLUDE_DIR}")
tools.replace_in_file(cmakelists_src, "${OPENSSL_LIBRARIES}", "OpenSSL::SSL OpenSSL::Crypto")

def _configure_cmake(self):
if self._cmake:
return self._cmake
Expand All @@ -93,7 +88,6 @@ def _configure_cmake(self):
return self._cmake

def build(self):
self._patch_sources()
cmake = self._configure_cmake()
cmake.build()

Expand Down

0 comments on commit 54ffc53

Please sign in to comment.