aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-09-12 17:40:31 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2023-09-13 09:18:10 +0000
commitdbc10900cd42dcf9846245912e57665fee587f26 (patch)
tree6d997c77cacda60a468486abcd95763f09537543 /share
parenta336af2f2aca1b302e79450f6421427d0107c08c (diff)
protobuf.cpp: Require c++17 on all platforms
At least on my ArchLinux machine, it won't work otherwise. Change-Id: I4179f51c72bf67f26c17c03e8cbe57dd805122d1 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/protobuf/cpp/protobufcpp.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/protobuf/cpp/protobufcpp.qbs b/share/qbs/modules/protobuf/cpp/protobufcpp.qbs
index af1a5d2cd..e9505dfc4 100644
--- a/share/qbs/modules/protobuf/cpp/protobufcpp.qbs
+++ b/share/qbs/modules/protobuf/cpp/protobufcpp.qbs
@@ -18,7 +18,7 @@ ProtobufBase {
property string grpcIncludePath: grpcIncludeProbe.found ? grpcIncludeProbe.path : undefined
property string grpcLibraryPath: grpcLibraryProbe.found ? grpcLibraryProbe.path : undefined
- property string _cxxLanguageVersion: qbs.targetOS.contains("darwin") ? "c++17" : "c++14"
+ property string _cxxLanguageVersion: "c++17"
readonly property string _libraryName: {
var libraryName;