martinellimarco / t2sz

Compress a file into a seekable zstd with special handling for .tar archives
GNU General Public License v3.0
42 stars 0 forks source link

CMakeLists does not respect CMAKE_INSTALL_PREFIX #2

Closed danieldjewell closed 2 years ago

danieldjewell commented 3 years ago

Line 15 in CMakeLists hardcodes an install prefix which does not respect the CMAKE_INSTALL_PREFIX variable.

https://github.com/martinellimarco/t2sz/blob/72bf850e54f8a73c8c9cd025b5aeccd0a39b02bd/CMakeLists.txt#L15

Changing this to:

install(TARGETS t2sz)

corrects the problem and allows cmake to utilize the specified install prefix.

martinellimarco commented 3 years ago

You are correct, it will be fixed soon. Thank you!