From: Ralf Habacker Date: Thu, 7 Apr 2022 11:59:21 +0000 (+0200) Subject: cmake: Let the c++ compiler use the warnings available to it X-Git-Tag: dbus-1.15.0~66^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=523796873fc21fc7970e14a739fefc926d307dc4;p=thirdparty%2Fdbus.git cmake: Let the c++ compiler use the warnings available to it Fixes #387 Signed-off-by: Ralf Habacker --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 197b095dd..01223a56d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -372,7 +372,7 @@ generate_compiler_warning_flags( ) string(APPEND CMAKE_C_FLAGS " ${WARNINGS_CFLAGS}") -string(APPEND CMAKE_CXX_FLAGS " ${WARNINGS_CFLAGS}") +string(APPEND CMAKE_CXX_FLAGS " ${WARNINGS_CXXFLAGS}") # let wine be able to show file and lines in backtrace if(DBUS_USE_WINE)