zstd icon indicating copy to clipboard operation
zstd copied to clipboard

cmake ninjas generator reports `multiple rules generate lib/zstd.lib`

Open solomoncyj opened this issue 2 months ago • 0 comments

To Reproduce clone the repo cd build/cmake cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='C:\' -DCMAKE_SKIP_INSTALL_RPATH:BOOL=1 -G Ninja -DBUILD_SHARED_LIBS=1 cmake --build build ninja: error: build.ninja:923: multiple rules generate lib/zstd.lib error is emmited

Expected behavior builds correctly

Screenshots and charts If applicable, add screenshots and charts to help explain your problem.

Desktop (please complete the following information):

  • OS: windows
  • Version 6e58e9a2c42ea344708b72a14052b3bd4581e118
  • Compiler clang 21
  • Flags all bulit in flags + -march=native -flto=thin
  • Build system ninja

Additional context Add any other context about the problem here.

solomoncyj avatar Oct 20 '25 01:10 solomoncyj