Skip to content

Commit ed389c1

Browse files
Still trying to get libzip found (+ name fix)
1 parent f3e5bce commit ed389c1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152

153153
- uses: actions/upload-artifact@v4
154154
with:
155-
name: pyvcell-fv-${{ matrix.os }}-${{ matrix.python_version }}-cibw-wheels
155+
name: pyvcell-fv-${{ matrix.os }}-${{ matrix.python_version:0:-2 }}-cibw-wheels
156156
path: ./wheelhouse/*.whl
157157

158158
- name: Setup tmate session on failure

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ if (APPLE)
140140
execute_process(COMMAND brew --prefix libzip OUTPUT_VARIABLE LIBZIP_PREFIX OUTPUT_STRIP_TRAILING_WHITESPACE)
141141
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${LIBZIP_PREFIX})
142142
endif()
143+
if (LINUX)
144+
include_directories(/usr/local/include)
145+
link_directories(/usr/local/lib)
146+
target_link_libraries(your_target_name zip)
147+
endif ()
143148
find_package(LIBZIP 1.10 REQUIRED)
144149

145150

0 commit comments

Comments
 (0)