richgel999 / lzham_codec

Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed, C/C++
Other
693 stars 71 forks source link

Put cmake_minimum_required before project #29

Open partiallyderived opened 1 year ago

partiallyderived commented 1 year ago

cmake_minimum_required should appear before PROJECT (see docs) in CMakeLists, so this PR changes that. Having them in the wrong order can cause issues at least for MSVC, similar to what is talked about in this issue.

This PR also uncomments the PROJECT statement in the top-level CMakeLists.