Skip to content

Commit

Permalink
mysql-connector-cpp: drop override-cmake-policy-version.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Sep 9, 2024
1 parent 2f459ec commit ed0bb9d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 48 deletions.
3 changes: 0 additions & 3 deletions recipes/mysql-connector-cpp/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ sources:
sha256: "9d4b90a4efe8861e821136fb3024074d14875749d8b69d1821361b2f2b8bfe55"
patches:
"9.0.0":
- patch_file: "patches/9.0.0/0001-override-cmake-policy-version.patch"
patch_description: "Set CMake policy version to 3.15, move project() statement"
patch_type: "conan"
- patch_file: "patches/9.0.0/0002-rename-find_dependency.patch"
patch_description: "Rename find_dependency() to avoid conflicts with the official CMake function"
patch_type: "conan"
Expand Down
1 change: 1 addition & 0 deletions recipes/mysql-connector-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def generate(self):
tc.cache_variables["WITH_SSL"] = self.dependencies["openssl"].package_folder.replace("\\", "/")
tc.cache_variables["CMAKE_PREFIX_PATH"] = self.generators_folder.replace("\\", "/")
tc.cache_variables["IS64BIT"] = True
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
tc.generate()

deps = CMakeDeps(self)
Expand Down

This file was deleted.

0 comments on commit ed0bb9d

Please sign in to comment.