vcpkg/ports/mysql-connector-cpp/usage
Li Xiaobin 79211d3e4a
[mysql-connector-cpp] Add new port (#25652)
* [mysql-connector-cpp] Add new port

* [mysql-connector-cpp] add version

* [mysql-connector-cpp] Fix code review suggestion

* [mysql-connector-cpp] Run x-add-version

* [mysql-connector-cpp] Quote cmake expressions; Add CMake targets

* unofficial targets

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* unofficial targets

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* unofficial targets

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* unofficial targets

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* unofficial targets

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* unofficial targets

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* unofficial targets

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [mysql-connector-cpp] Add unofficial targets and usage

* [mysql-connector-cpp] Run x-add-version

* [mysql-connector-cpp] Fix code review suggestion

* [mysql-connector-cpp] Run x-add-version

* Fix license and supports nitpick.

* Version DB

* Remove vcpkg-cmake-wrapper

* Version DB

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-08-11 13:09:00 -07:00

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)