mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
23d3731eae
* [libmysql] Update to 8.0.34 * [libmysql] Fix deps * [libmysql] Fix deps, cont. * WIP * WIP * [libmysql] Don't wrap downstream Find modules Downstream Find modules are not standardized and cannot be wrapped reliably. By moving the legacy wrapper behaviour to a config module, we can catch those users which were relying on the old usage, and display the instructions for migrating to the canonical unofficial usage. * [libmysql] Cross build stuff * [libmysql] Cross build stuff * [libmysql] Cross build stuff
7 lines
285 B
CMake
7 lines
285 B
CMake
file(READ "${CMAKE_CURRENT_LIST_DIR}/usage" usage)
|
|
message(WARNING "find_package(libmysql) is deprecated.\n${usage}")
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(unofficial-libmysql CONFIG REQUIRED)
|
|
set(libmysql_FOUND 1)
|
|
set(MYSQL_LIBRARIES unofficial::libmysql::libmysql)
|