vcpkg/ports/poco/fix-InstallDataMysql.patch
LilyWangLL 055684d93a
[libmysql] Fix could not find package config files (#22062)
* [libmysql] Fix could not find package config files

* update version

* [poco] Fix install PocoDataMySQL.lib

* update version

* [poco] Update portfile.cmake

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2021-12-22 22:53:44 -05:00

14 lines
469 B
Diff

diff --git a/Data/CMakeLists.txt b/Data/CMakeLists.txt
index 9d0a85c..4f1ae21 100644
--- a/Data/CMakeLists.txt
+++ b/Data/CMakeLists.txt
@@ -45,7 +45,7 @@ else(ENABLE_DATA_SQLITE)
message(STATUS "SQLite Support Disabled")
endif()
-if((MYSQL_FOUND OR unofficial-libmariadb_FOUND) AND ENABLE_DATA_MYSQL)
+if((unofficial-libmysql_FOUND OR unofficial-libmariadb_FOUND) AND ENABLE_DATA_MYSQL)
message(STATUS "MySQL Support Enabled")
add_subdirectory(MySQL)
else()