gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
62 stars 50 forks source link

build: Produce more correct pc file with zzipsdldir #89

Closed jtojnar closed 4 years ago

jtojnar commented 4 years ago

Just like described in commit 892dea3b82208654cc9f57ffc4ef555d0d934cf5, the CMAKE_INSTALL_INCLUDEDIR variable can be absolute path so simply appending it to \${prefix} might not work.

jtojnar commented 4 years ago

It would be probably cleaner to use https://cmake.org/cmake/help/latest/command/configure_file.html instead of creating the file using shell.