stachenov / quazip

Qt/C++ wrapper over minizip
Other
580 stars 233 forks source link

Install instruction from documentation fails (Unknown argument -D) (Linux) #178

Closed domichbt closed 8 months ago

domichbt commented 1 year ago

When following the building and installation instructions from the documentation,

cmake --build wherever/you/want/your/build/to/be --target install -D CMAKE_INSTALL_PREFIX=/wherever/you/want/to/install

returns Unknown argument -D .

This is on linux (Pop!_OS 22.04 so essentially Ubuntu 22.04), using cmake 3.22.1

cen1 commented 8 months ago

That should be set at CMake configure step, I removed the offending flag from the doc. Fixed in https://github.com/stachenov/quazip/commit/3d05f42bf0e369361bfece4e11027d3181de5495