Skip to content

Commit

Permalink
specify windows libzip archive name
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jan 19, 2025
1 parent 9960972 commit 649fb94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,10 @@ add_subdirectory(VCellZipUtils)
add_subdirectory(libzip)
# Set LIBZIP_INCLUDE_DIR and LIBZIP_LIBRARY
set(LIBZIP_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/libzip/lib)
set(LIBZIP_LIBRARY ${CMAKE_BINARY_DIR}/libzip/libzip.a)
if (WIN32)
set(LIBZIP_LIBRARY ${CMAKE_BINARY_DIR}/libzip/lib/libzip.dll.a)
else()
set(LIBZIP_LIBRARY ${CMAKE_BINARY_DIR}/libzip/lib/libzip.a)

add_subdirectory(libzippp)
# Path to the patch file
Expand Down

0 comments on commit 649fb94

Please sign in to comment.