ebiggers / libdeflate

Heavily optimized library for DEFLATE/zlib/gzip compression and decompression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake error with install target, with Visual Studio

jmckenna opened this issue · comments

  • environment: MSVC 2019 on Windows
  • version: libdeflate-1.15
  • CMake version: 3.25.1
  • error:
    • during the install target, a CMake error occurs:
-- Installing: D:/blah/libdeflate-1.15/build/install/bin/libdeflate-gunzip
CMake Error at programs/cmake_install.cmake:44 (file):
  file Cannot hard link
  'D:/blah/libdeflate-1.15/build/install/bin/libdeflate-gzip'
  as it does not exist.
Call Stack (most recent call first):
  cmake_install.cmake:91 (include)

For the record, the above file path is missing the .exe, which does exist at D:/blah/libdeflate-1.15/build/install/bin/libdeflate-gzip.exe

Closing, I re-tested with master branch and it works fine (likely fixed through #275 )