aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-04-07 15:39:47 -0400
committerGitHub <noreply@github.com>2026-04-07 15:39:47 -0400
commit5b5abcce09da3ce1cc8fab57e1571d0ff0966f7b (patch)
tree66e6e8eb470bcae56885d2ca15b67bfdd0b369f3 /CMakeLists.txt
parentd01b465eee667e8efa4aa7c3088dc7af18ea2ab2 (diff)
parent666e1f06d6be94114f4db5b2a4cb75d5e1ecb445 (diff)
downloadstasis-5b5abcce09da3ce1cc8fab57e1571d0ff0966f7b.tar.gz
Merge pull request #123 from jhunkeler/wheel-parser
Implement Python wheel interface
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 074c2ee..3a5576f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,9 +14,17 @@ if (ASAN)
add_link_options(-fsanitize=address)
endif()
+pkg_check_modules(ZIP libzip)
+if (NOT ZIP_FOUND)
+ message(FATAL_ERROR "libzip is required (https://libzip.org)")
+endif ()
+
+include_directories(${ZIP_INCLUDEDIR})
+link_directories(${ZIP_LIBRARY_DIRS})
+include_directories(${CURL_INCLUDE_DIR})
link_libraries(CURL::libcurl)
-link_libraries(LibXml2::LibXml2)
include_directories(${LIBXML2_INCLUDE_DIR})
+link_libraries(LibXml2::LibXml2)
option(FORTIFY_SOURCE OFF)
if (FORTIFY_SOURCE)