Solved: CMake question: Has anyone successfully included libzip from this repo via CPMFindPackage? #502
Replies: 1 comment
-
Update: Solution was that the GIT_TAG must begin with the letter 'v':
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In OpenXLSX, I am currently "finding" libzip using CMake's
find_package
like so:https://github.com/troldal/OpenXLSX/blob/development-aral/CMakeLists.txt#L122
However,
CPMFindPackage
allows to pull in dependencies that are not installed on the system (if the user wishes to do so), and we have that functionality supported for pugixml and boost NoWide. However, I can't seem to make it work with libzip, and since the CMake documentation is not very helpful, I was hoping that someone has already succeeded in usingCPMFindPackage
with libzip.Is anyone able to help me to make the below CMake instructions work with libzip?
https://github.com/troldal/OpenXLSX/blob/development-aral/CMakeLists.txt#L128
Relevant code:
Beta Was this translation helpful? Give feedback.
All reactions