diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2020-11-12 04:14:12 -0500 |
---|---|---|
committer | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2020-11-12 09:39:30 -0500 |
commit | b0c8341d6fdd34988a3cdf20108b8eb64ba3cf55 (patch) | |
tree | a633466504ea8753d03495eadcae48017142612e /CMakeLists.txt | |
parent | 9faf35f445dbe1c5350e48f7877dc8d4fb78f138 (diff) | |
download | libvfio-user-b0c8341d6fdd34988a3cdf20108b8eb64ba3cf55.zip libvfio-user-b0c8341d6fdd34988a3cdf20108b8eb64ba3cf55.tar.gz libvfio-user-b0c8341d6fdd34988a3cdf20108b8eb64ba3cf55.tar.bz2 |
set CFLAGS "-Wall -Werror -Wextra" at top level dir
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index af97768..f8eae4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,9 @@ cmake_minimum_required (VERSION 2.6) project(muser) include(GNUInstallDirs) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra") + # shared libraries add_subdirectory(lib) |