aboutsummaryrefslogtreecommitdiffstats
path: root/gr-utils
diff options
context:
space:
mode:
authorRon Economos <w6rz@comcast.net>2021-11-03 13:25:02 -0700
committermormj <34754695+mormj@users.noreply.github.com>2021-11-06 08:23:17 -0400
commit9b150efbc8a8458d9ed192daed34a7ff4e2948a0 (patch)
tree762c9069f2949f6037628dcbbb074c988f34f5e9 /gr-utils
parentcmake: version check for pygccxml (diff)
downloadgnuradio-9b150efbc8a8458d9ed192daed34a7ff4e2948a0.tar.xz
gnuradio-9b150efbc8a8458d9ed192daed34a7ff4e2948a0.zip
modtool: Use c++17 in template to match top level CMakeLists.txt.
Signed-off-by: Ron Economos <w6rz@comcast.net>
Diffstat (limited to 'gr-utils')
-rw-r--r--gr-utils/modtool/templates/gr-newmod/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-utils/modtool/templates/gr-newmod/CMakeLists.txt b/gr-utils/modtool/templates/gr-newmod/CMakeLists.txt
index c4d055460..1ebfb5b36 100644
--- a/gr-utils/modtool/templates/gr-newmod/CMakeLists.txt
+++ b/gr-utils/modtool/templates/gr-newmod/CMakeLists.txt
@@ -51,11 +51,11 @@ if((CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
endif()
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- SET(CMAKE_CXX_STANDARD 14)
+ SET(CMAKE_CXX_STANDARD 17)
ELSEIF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- SET(CMAKE_CXX_STANDARD 14)
+ SET(CMAKE_CXX_STANDARD 17)
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
- SET(CMAKE_CXX_STANDARD 14)
+ SET(CMAKE_CXX_STANDARD 17)
ELSE()
message(WARNING "C++ standard could not be set because compiler is not GNU, Clang or MSVC.")
ENDIF()