vcpkg/ports/soci/fix-dependency-libmysql.patch
Jack·Boos·Yu 99dc49dae7
[soci] Fix feature mysql (#16296)
* [soci] Fix feature mysql

* update version record
2021-02-19 13:06:34 -08:00

14 lines
422 B
Diff

diff --git a/cmake/modules/FindMySQL.cmake b/cmake/modules/FindMySQL.cmake
index 1233568..6110c36 100644
--- a/cmake/modules/FindMySQL.cmake
+++ b/cmake/modules/FindMySQL.cmake
@@ -13,6 +13,8 @@
#
# 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)
+return()
include(CheckCXXSourceCompiles)