From a61fa630543e0dd74b609f73003a2b85a3ede486 Mon Sep 17 00:00:00 2001 From: Sven van Haastregt Date: Fri, 4 Nov 2022 15:53:42 +0000 Subject: [PATCH] [NFC] cmake: Remove redundant CMAKE_CXX_STANDARD (#1558) `CMAKE_CXX_STANDARD` is already set in the top-level CMakeLists.txt file, so there is no need to have it repeated for individual modules. Signed-off-by: Sven van Haastregt Signed-off-by: Sven van Haastregt --- test_conformance/SVM/CMakeLists.txt | 1 - test_conformance/printf/CMakeLists.txt | 2 -- test_conformance/spirv_new/CMakeLists.txt | 1 - 3 files changed, 4 deletions(-) diff --git a/test_conformance/SVM/CMakeLists.txt b/test_conformance/SVM/CMakeLists.txt index c56cc57a..2d01a825 100644 --- a/test_conformance/SVM/CMakeLists.txt +++ b/test_conformance/SVM/CMakeLists.txt @@ -1,4 +1,3 @@ -set(CMAKE_CXX_STANDARD 11) set(MODULE_NAME SVM) set(${MODULE_NAME}_SOURCES diff --git a/test_conformance/printf/CMakeLists.txt b/test_conformance/printf/CMakeLists.txt index 8f03dca9..39a520c8 100644 --- a/test_conformance/printf/CMakeLists.txt +++ b/test_conformance/printf/CMakeLists.txt @@ -1,7 +1,5 @@ set(MODULE_NAME PRINTF) -set(CMAKE_CXX_STANDARD 11) - set(${MODULE_NAME}_SOURCES test_printf.cpp util_printf.cpp diff --git a/test_conformance/spirv_new/CMakeLists.txt b/test_conformance/spirv_new/CMakeLists.txt index 7500571d..68720975 100644 --- a/test_conformance/spirv_new/CMakeLists.txt +++ b/test_conformance/spirv_new/CMakeLists.txt @@ -12,7 +12,6 @@ ###################################################################################################### set(MODULE_NAME SPIRV_NEW) -set(CMAKE_CXX_STANDARD 11) file(GLOB SPIRV_NEW_SOURCES "*.cpp")