summaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
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)