mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 20:38:59 +08:00
fe112d8301
* [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
15 lines
442 B
Diff
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)
|
|
|