Skip to content

Commit

Permalink
mysql-connector-cpp: don't move project() in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Sep 8, 2024
1 parent 70c612a commit 1723b98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion recipes/mysql-connector-cpp/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sources:
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_description: "Set CMake policy version to 3.15"
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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,15 @@ index 341ed2de..4d747849 100644

-CMAKE_MINIMUM_REQUIRED(VERSION 3.8)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.15)
+PROJECT(MySQL_CONCPP)
+

-CMAKE_POLICY(VERSION 3.1)
-cmake_policy(SET CMP0022 NEW)


SET(BUILDTYPE_DOCSTRING
@@ -73,7 +73,7 @@ endif()

##########################################################################

-PROJECT(MySQL_CONCPP)
+
+

# Load cmake modules

SET(BUILDTYPE_DOCSTRING

@@ -87,7 +87,7 @@
# Detect if we are configured as stand-alone project, or sub-project.
#
Expand Down

0 comments on commit 1723b98

Please sign in to comment.