FS#69239 - [poco] CMake requires non existing target
Attached to Project:
Community Packages
Opened by Christoph (laudin) - Thursday, 07 January 2021, 11:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 October 2021, 21:21 GMT
Opened by Christoph (laudin) - Thursday, 07 January 2021, 11:30 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 October 2021, 21:21 GMT
|
Details
Description:
The cmake target "Poco::DataMySQL" defined in "PocoDataMySQLTargets.cmake" has a dependency to "MySQL::client", but this target is not defined, so the generation fails if you try to use this target. Probably it should be "libmysqlclient.so" instead (included in mariadb-libs). Error message: CMake Error at CMakeLists.txt:6 (add_executable): Target "untitled" links to target "MySQL::client" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Steps to reproduce: Generate the attached cmake project. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 14 October 2021, 21:21 GMT
Reason for closing: Fixed
Thursday, 14 October 2021, 21:21 GMT
Reason for closing: Fixed
PKGBUILD (1.2 KiB)