Skip to content

LD can't find libz-ng.a #1439

Answered by nmoinvaz
kbieniex asked this question in Q&A
Feb 13, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I think target_link_libraries needs the name of the CMake project (ie zlib), instead of the name of the library output; probably due to EXCLUDE_FROM_ALL.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kbieniex
Comment options

@kbieniex
Comment options

Answer selected by kbieniex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants