CMakeLists.txt

changeset 179
7fc34735178e
parent 163
5948441a1951
child 185
e83ec58cc458
--- a/CMakeLists.txt	Wed Jan 27 12:38:00 2021 +0200
+++ b/CMakeLists.txt	Wed Jan 27 13:02:51 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

mercurial