4e196b2ac3
The original conditions only worked, when both, static and shared variants where built, resulting in an inconsistency between programs and library. The program was built with MT support enabled, the library not. That lead to error 11 'unsupported parameter' when compressing anything with the command line tool. When changing the AND condition to `ZSTD_MULTITHREAD_SUPPORT AND (ZSTD_BUILD_SHARED OR ZSTD_BUILD_SHARED)`, cmake stopps complaining one of the targets wasn't built. This commit works for any case. |
||
---|---|---|
.. | ||
.gitignore | ||
cmake_uninstall.cmake.in | ||
CMakeLists.txt | ||
pkgconfig.cmake |