mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 10:22:56 +08:00
10 lines
318 B
Plaintext
10 lines
318 B
Plaintext
|
The package mysql-connector-cpp provides CMake targets:
|
||
|
|
||
|
find_package(unofficial-mysql-connector-cpp CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE mysqlcppconn)
|
||
|
|
||
|
or
|
||
|
|
||
|
find_package(unofficial-mysql-connector-cpp CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE mysqlcppconn-static)
|