yuzu-early/externals/vcpkg/ports/libmysql/vcpkg-cmake-wrapper.cmake

10 lines
244 B
CMake
Raw Normal View History

2022-07-23 03:01:36 +02:00
find_package(unofficial-libmysql CONFIG REQUIRED)
if (TARGET mysqlclient)
set(MYSQL_LIBRARY mysqlclient)
elseif (TARGET libmysql)
set(MYSQL_LIBRARY libmysql)
endif()
set(libmysql_FOUND 1)
set(MYSQL_LIBRARIES ${MYSQL_LIBRARY})