zstd/build/cmake
oleid 4e196b2ac3
Correct multithread logic, fixing 'unsupported parameter' error
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.
2018-06-26 08:36:41 +02:00
..
CMakeModules CMake improvements 2017-05-24 10:56:35 +02:00
contrib Update man page variables in CMakeLists 2018-03-21 14:10:42 +05:30
lib Correct multithread logic, fixing 'unsupported parameter' error 2018-06-26 08:36:41 +02:00
programs Fix CMake build 2018-03-26 14:59:26 -07:00
tests grouped all histogram functions into hist.c 2018-06-13 19:49:31 -04:00
.gitignore updated .gitignore for new cmake script 2017-03-21 17:52:42 -07:00
CMakeLists.txt CMake: fixed multithreading build on Windows 2018-01-17 10:27:52 +03:00