[PATCH] D79439: [mlir] Specify CMAKE_CXX_STANDARD to standalone dialect
Lei Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 12:58:43 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6f790f784ee4: [mlir] Specify CMAKE_CXX_STANDARD to standalone dialect (authored by antiagainst).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79439/new/
https://reviews.llvm.org/D79439
Files:
mlir/examples/standalone/CMakeLists.txt
Index: mlir/examples/standalone/CMakeLists.txt
===================================================================
--- mlir/examples/standalone/CMakeLists.txt
+++ 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}")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79439.262194.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/c3e8a31a/attachment.bin>
More information about the llvm-commits
mailing list