-
Notifications
You must be signed in to change notification settings - Fork 333
Open
Description
When I link to cnpy-static in my CMake project, in get the error undefined symbol: inflate when trying to execute my program.
After short research I found this could be related to zlib and discovered that cnpy-static is not linked to zlib in CMakeLists.txt. Maybe the following line should be added in CMakeLists.txt inside the block for the static library:
target_link_libraries(cnpy-static ${ZLIB_LIBRARIES})
My current workaround is to link my own library/program to zlib but I'm not sure if having that specification more local inside cnpy would be better 🤔
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels