vcpkg/ports/libmysql/libmysql-config.cmake
Kai Pastor 23d3731eae
[libmysql] Update to 8.0.34 (#34736)
* [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
2023-11-01 12:06:07 -07:00

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)