mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-04 03:50:16 +01:00
Enable -Wsign-compare for cmake builds.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
parent
50bd76ac5b
commit
08a75e07cb
1 changed files with 2 additions and 0 deletions
|
|
@ -190,6 +190,8 @@ if(DBUS_WITH_GLIB)
|
|||
endif()
|
||||
|
||||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wsign-compare")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-compare")
|
||||
|
||||
#########################################################################
|
||||
# Windows CE (>= 5.0.0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue