Change incorrect -Wno-error to remove warning entirely

* If a warning is valid, it should be fixed, and if it is invalid it should be
  ignored entirely.
This commit is contained in:
baldurk
2024-07-29 14:27:44 +01:00
parent aa09927662
commit fe31bdbdf8
+1 -1
View File
@@ -216,7 +216,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 14.0)
file(APPEND
${CMAKE_BINARY_DIR}/qrenderdoc/qrenderdoc_cmake.pri
"QMAKE_CXXFLAGS += -Wno-error=template-id-cdtor\n")
"QMAKE_CXXFLAGS += -Wno-template-id-cdtor\n")
endif()
endif()