[PATCH] D142720: libclc: Set CMAKE_CXX_STANDARD to 17 to match llvm

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 06:34:51 PST 2023


tstellar created this revision.
tstellar added a reviewer: thieta.
Herald added a subscriber: jvesely.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142720

Files:
  libclc/CMakeLists.txt


Index: libclc/CMakeLists.txt
===================================================================
--- libclc/CMakeLists.txt
+++ libclc/CMakeLists.txt
@@ -2,6 +2,8 @@
 
 project( libclc VERSION 0.2.0 LANGUAGES CXX C)
 
+set(CMAKE_CXX_STANDARD 17)
+
 include( GNUInstallDirs )
 set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
   amdgcn-amdhsa/lib/SOURCES;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142720.492739.patch
Type: text/x-patch
Size: 368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230127/3e7600cd/attachment.bin>


More information about the llvm-commits mailing list