-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Running qss-compiler 128c937 on a fresh Ubuntu 22.04 VM with Python 3.10.6.
Default Conan 1.59.0 profile and CMake updated to 3.26.1.
Observed behaviour
The build fails with
CMake Error at cmake/AddQSSC.cmake:115 (target_link_libraries):
Target "QSSCPayloadZip" links to:
libzip::zip
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Expected behaviour
The build system should pick up on libzip.
Workaround
Telling CMake to use the OS's zip library works, but requires additional intervention.
--- a/lib/Payload/ZipPayload/CMakeLists.txt
+++ b/lib/Payload/ZipPayload/CMakeLists.txt
@@ -24,7 +24,7 @@ qssc_add_plugin(QSSCPayloadZip QSSC_PAYLOAD_PLUGIN
LINK_LIBS
QSSCPayload
- libzip::zip
+ zipMetadata
Metadata
Assignees
Labels
No labels