Skip to content

Commit eacdf09

Browse files
Use CMAKE_CXX_STANDARD rather than hardcoding
1 parent de858d6 commit eacdf09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testshade/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: BSD-3-Clause
33
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
44

5-
set (LLVM_COMPILE_FLAGS ${LLVM_COMPILE_FLAGS} "-std=c++17")
5+
set (LLVM_COMPILE_FLAGS ${LLVM_COMPILE_FLAGS} -std=c++${CMAKE_CXX_STANDARD})
66

77
# The 'testshade' executable
88
set ( testshade_srcs

0 commit comments

Comments
 (0)