diff --git a/mlir/examples/standalone/CMakeLists.txt b/mlir/examples/standalone/CMakeLists.txt --- a/mlir/examples/standalone/CMakeLists.txt +++ b/mlir/examples/standalone/CMakeLists.txt @@ -15,6 +15,8 @@ project(standalone-dialect LANGUAGES CXX C) +set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to") + find_package(MLIR REQUIRED CONFIG) message(STATUS "Using MLIRConfig.cmake in: ${MLIR_DIR}")