Skip to content

Commit e5b65fd

Browse files
committed
Upgrade to C++17 Standard
-------------------------------- C++17 contains much more features that: 1. add flexibility (eg. std::any, std::variant) 2. potential performance improvement 3. type safety For more info see: https://en.cppreference.com/w/cpp/17
1 parent 8cd410f commit e5b65fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.10)
66
project(fpga-runtime-for-opencl C CXX)
77

88
# Set default C++ standard property of targets.
9-
set(CMAKE_CXX_STANDARD 11)
9+
set(CMAKE_CXX_STANDARD 17)
1010
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1111

1212
# https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Packaging-With-CPack

0 commit comments

Comments
 (0)