Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4362baa
)
g2: fix the g2 build for Ubuntu 20.04
01/27101/3
author
Dave Barach
<dave@barachs.net>
Fri, 15 May 2020 13:51:45 +0000
(09:51 -0400)
committer
Florin Coras
<florin.coras@gmail.com>
Fri, 15 May 2020 15:23:00 +0000
(15:23 +0000)
Shut off deprecated declaration warnings
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I65ea4bbc4d5ee5a11d4e8f554f414f57944c7e1c
src/tools/g2/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/tools/g2/CMakeLists.txt
b/src/tools/g2/CMakeLists.txt
index
36dd6e9
..
e801191
100644
(file)
--- a/
src/tools/g2/CMakeLists.txt
+++ b/
src/tools/g2/CMakeLists.txt
@@
-15,6
+15,7
@@
option(VPP_BUILD_G2 "Build g2 tool." OFF)
if(VPP_BUILD_G2)
find_package(GTK2 COMPONENTS gtk)
if(GTK2_FOUND)
+ set(CMAKE_C_FLAGS "-Wno-deprecated-declarations ${CMAKE_C_FLAGS}")
include_directories(${GTK2_INCLUDE_DIRS})
add_vpp_executable(g2
SOURCES
@@
-29,8
+30,6
@@
if(VPP_BUILD_G2)
view1.c
LINK_LIBRARIES vppinfra Threads::Threads m ${GTK2_LIBRARIES}
- NO_INSTALL
)
endif()
endif()
-