diff -r 7e3bd4030aa5 -r fe705efbfc52 CMakeLists.txt --- a/CMakeLists.txt Tue Aug 13 13:20:28 2019 -0600 +++ b/CMakeLists.txt Wed Aug 14 22:27:01 2019 +0300 @@ -20,7 +20,9 @@ #possible cmake configuration option(NOSERVER "Disable gameServer build (off)" OFF) -option(NOPNG "Disable screenshoot compression (off)" OFF) +if(NOT WIN32) + option(NOPNG "Disable screenshoot compression (off)" OFF) +endif() option(NOVIDEOREC "Disable video recording (off)" OFF) #libraries are built shared unless explicitly added as a static