From d6698668a6eec070192d3a6a2f3498c73a1844b2 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Fri, 19 Jul 2024 10:08:06 -0700 Subject: [PATCH] Set detect_cxx_standard argument to lower-case snake-case --- conan_provider.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conan_provider.cmake b/conan_provider.cmake index 3e2bbca9..ca34633c 100644 --- a/conan_provider.cmake +++ b/conan_provider.cmake @@ -128,10 +128,10 @@ function(detect_arch arch) endfunction() -function(detect_cxx_standard CXX_STANDARD) - set(${CXX_STANDARD} ${CMAKE_CXX_STANDARD} PARENT_SCOPE) +function(detect_cxx_standard cxx_standard) + set(${cxx_standard} ${CMAKE_CXX_STANDARD} PARENT_SCOPE) if(CMAKE_CXX_EXTENSIONS) - set(${CXX_STANDARD} "gnu${CMAKE_CXX_STANDARD}" PARENT_SCOPE) + set(${cxx_standard} "gnu${CMAKE_CXX_STANDARD}" PARENT_SCOPE) endif() endfunction()