mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 11:28:59 +08:00
10 lines
244 B
CMake
10 lines
244 B
CMake
|
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})
|