diff --color -ur lib3mf-2.3.0/CMakeLists.txt lib3mf-2.3.0-patched/CMakeLists.txt
--- lib3mf-2.3.0/CMakeLists.txt	2024-03-05 09:02:36
+++ lib3mf-2.3.0-patched/CMakeLists.txt	2024-04-13 19:50:17
@@ -170,7 +170,8 @@
 else()
     find_package(PkgConfig REQUIRED)
     pkg_check_modules(LIBZIP REQUIRED libzip)
-    target_link_libraries(${PROJECT_NAME} ${LIBZIP_LIBRARIES})
+    target_link_libraries(${PROJECT_NAME} ${LIBZIP_LINK_LIBRARIES})
+    target_include_directories(${PROJECT_NAME} PRIVATE ${LIBZIP_INCLUDE_DIRS})
 endif()
 
 
