From 3acc863245b30c655498d60323c50da0865e0199 Mon Sep 17 00:00:00 2001 From: Cubitect Date: Sun, 10 Nov 2024 13:48:43 +0100 Subject: [PATCH] Fix compile warning with clang++ --- cubiomes-viewer.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubiomes-viewer.pro b/cubiomes-viewer.pro index 5a6b92b..d7a4aee 100644 --- a/cubiomes-viewer.pro +++ b/cubiomes-viewer.pro @@ -20,7 +20,7 @@ greaterThan(QT_MAJOR_VERSION, 5) { DEFINES += QT_DISABLE_DEPRECATED_UP_TO=0x050F00 } else { QMAKE_CXXFLAGS += -std=gnu++11 - gcc { + equals(QMAKE_CXX, g++) { QMAKE_CXXFLAGS += -Wno-deprecated-copy } }