From 3a53eebcfd64fb718e75febef63fa76e196c4868 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Thu, 4 Aug 2022 11:22:23 +0200 Subject: cplusplus: Disable warning Change-Id: I08f3b40afc50903304627aeb788c60fcbafdd288 Reviewed-by: hjk --- src/libs/3rdparty/cplusplus/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libs/3rdparty/cplusplus/CMakeLists.txt') diff --git a/src/libs/3rdparty/cplusplus/CMakeLists.txt b/src/libs/3rdparty/cplusplus/CMakeLists.txt index 41c653aa48e..e7b9fedd0bc 100644 --- a/src/libs/3rdparty/cplusplus/CMakeLists.txt +++ b/src/libs/3rdparty/cplusplus/CMakeLists.txt @@ -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() -- cgit v1.2.3