[cmake] add set(CMAKE_CXX_STANDARD_REQUIRED YES)

This commit is contained in:
Stephen Neuendorffer 2020-06-28 22:45:34 -07:00
parent 8e45ce3728
commit 92e4fcd7bc
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ endif()
project(circt LANGUAGES CXX C) project(circt LANGUAGES CXX C)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
find_package(MLIR REQUIRED CONFIG) find_package(MLIR REQUIRED CONFIG)