2021-02-20 05:06:34 +08:00
|
|
|
diff --git a/cmake/modules/FindMySQL.cmake b/cmake/modules/FindMySQL.cmake
|
2021-04-10 01:39:04 +08:00
|
|
|
index 1233568..9a7cb61 100644
|
2021-02-20 05:06:34 +08:00
|
|
|
--- a/cmake/modules/FindMySQL.cmake
|
|
|
|
+++ b/cmake/modules/FindMySQL.cmake
|
2021-04-10 01:39:04 +08:00
|
|
|
@@ -13,6 +13,9 @@
|
2021-02-20 05:06:34 +08:00
|
|
|
#
|
|
|
|
# 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)
|
2021-04-10 01:39:04 +08:00
|
|
|
+set(MySQL_FOUND 1)
|
2021-02-20 05:06:34 +08:00
|
|
|
+return()
|
|
|
|
|
|
|
|
include(CheckCXXSourceCompiles)
|
|
|
|
|