libclc: Set CMAKE_CXX_STANDARD to 17 to match llvm
Reviewed By: thieta
Differential Revision: https://reviews.llvm.org/D142720
GitOrigin-RevId: 409f42b10ac6dc1c6a4e68d20ccd3adf6770e238
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0a23471..0e21a86 100644
--- a/CMakeLists.txt
+++ b/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;