summaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-28 12:33:52 +0200
committerDamjan Marion <dmarion@me.com>2018-08-28 11:01:34 +0000
commit6462742d82ce462ac6acaec09f3306ae56a50762 (patch)
tree770c3853d2230d8550370a8dacf6c479c0fef73d /src/cmake/library.cmake
parent69abe4442bfd74976adc7371b35917cdee0d4274 (diff)
cmake: compile libs and plugins with -Wall
Change-Id: I1edf236295eeb934943d6ca2aed04241e9cde362 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/cmake/library.cmake')
-rw-r--r--src/cmake/library.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake
index 9ed53e9dba7..66b4dffe575 100644
--- a/src/cmake/library.cmake
+++ b/src/cmake/library.cmake
@@ -20,6 +20,7 @@ macro(add_vpp_library lib)
)
add_library(${lib} SHARED ${ARG_SOURCES})
+ target_compile_options(${lib} PRIVATE -Wall)
# library deps
if(ARG_LINK_LIBRARIES)