cplusplus: Disable warning

Change-Id: I08f3b40afc50903304627aeb788c60fcbafdd288
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2022-08-04 11:22:23 +02:00
parent 5fcb459d6b
commit 3a53eebcfd

View File

@@ -56,4 +56,8 @@ if(TARGET 3rd_cplusplus)
target_precompile_headers(3rd_cplusplus PRIVATE
"${QtCreator_SOURCE_DIR}/src/shared/qtcreator_gui_pch.h")
endif()
if(UNIX)
target_compile_options(3rd_cplusplus PRIVATE "-Wno-unused-variable")
endif()
endif()