vcpkg/ports/soci/fix-dependency-libmysql.patch
Jack·Boos·Yu fe112d8301
[soci] Re-fix feature mysql (#16369)
* [soci] Re-fix feature mysql

* update version record

* [soci] Fix config file name and add find_dependency

* update baseline record

* [soci] Export INTERFACE_INCLUDE_DIRECTORIES

* update version record
2021-04-09 10:39:04 -07:00

15 lines
442 B
Diff

diff --git a/cmake/modules/FindMySQL.cmake b/cmake/modules/FindMySQL.cmake
index 1233568..9a7cb61 100644
--- a/cmake/modules/FindMySQL.cmake
+++ b/cmake/modules/FindMySQL.cmake
@@ -13,6 +13,9 @@
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+find_package(libmysql REQUIRED)
+set(MySQL_FOUND 1)
+return()
include(CheckCXXSourceCompiles)