Skip to content

Commit a56558a

Browse files
committed
Explicitly enable C++11 standard
1 parent 92f392e commit a56558a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ cmake_minimum_required(VERSION 3.10)
55

66
project(fpga-runtime-for-opencl C CXX)
77

8+
# Set default C++ standard property of targets.
9+
set(CMAKE_CXX_STANDARD 11)
10+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
11+
812
# https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Packaging-With-CPack
913
# https://cmake.org/cmake/help/v3.10/module/CPack.html
1014
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Intel(R) FPGA Runtime for OpenCL(TM) Software Technology")

0 commit comments

Comments
 (0)