--- a/CMakeLists.txt Wed Jan 27 12:41:50 2021 +0200 +++ b/CMakeLists.txt Wed Jan 27 19:48:41 2021 +0200 @@ -2,6 +2,9 @@ cmake_policy (SET CMP0003 NEW) project (ZFC9000) string (TOLOWER ${CMAKE_PROJECT_NAME} TARGET_NAME) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) add_library (huffman STATIC huffman/bitreader.cpp @@ -37,7 +40,6 @@ sources/network/ipaddress.h sources/network/rconsession.h sources/network/udpsocket.h - sources/range.h sources/version.h )