facebook / facebook/zstd

Cmake building static library fails on MSVC

Open
#4,518 1 comment 1 reaction 0 assignees View on GitHub
build
Dominant language
C
Stars
27.9k
Forks
2.6k
Avg merge
1d 3h
Merged PRs (30d)
8

Description

I'm trying to compile it as a static library for multiple platforms and it fails on MSVC with the error " CXX: needs to be enabled before use."

with this tiny change I can compile correctly
https://github.com/facebook/zstd/compare/dev...dimitre:zstd:dev

related runner
https://github.com/dimitre/ofLibs/actions/runs/18823615977/job/53702890010

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.