Ignore -Wdeprecated-declarations on GTK2
(GTK2 itself uses deprecated declarations)master
parent
eda665b76c
commit
87a16d3cbd
|
@ -95,6 +95,10 @@ endif (USE_GZIP)
|
|||
|
||||
# Compiler flags
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
if (GUI MATCHES GTK2)
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations")
|
||||
endif (GUI MATCHES GTK2)
|
||||
|
||||
|
||||
# Source list
|
||||
set (xqf_HEADERS_DIR ${CMAKE_SOURCE_DIR}/src)
|
||||
|
|
Loading…
Reference in New Issue