richgel999 / jpeg-compressor

C++ JPEG compression/fuzzed low-RAM JPEG decompression codec with Public Domain or Apache 2.0 license
210 stars 57 forks source link

Cmake improvements #21

Open pgsocks opened 1 year ago

pgsocks commented 1 year ago

The libraries needed to be split from the executable so they can be linked to. The source checks in WIN32 is defined to include Windows headers, but mingw doesn't set that when compiling in Linux. Also, CMake has new functions for setting flags, definitions, and properties.