From 6a721847e465832f7f68923faf96f72f30f1cecc Mon Sep 17 00:00:00 2001 From: daniel-k Date: Tue, 19 Dec 2017 19:02:50 +0100 Subject: [PATCH] set C++ standard to C++17 Primarily for structured binding declaration in range-based for loops --- fpga/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fpga/CMakeLists.txt b/fpga/CMakeLists.txt index ef7a90124..af9f08dc1 100644 --- a/fpga/CMakeLists.txt +++ b/fpga/CMakeLists.txt @@ -4,6 +4,8 @@ project(VILLASfpga C CXX) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake) +set (CMAKE_CXX_STANDARD 17) + add_subdirectory(lib) add_subdirectory(tests) add_subdirectory(src)