diff options
author | John Levon <john.levon@nutanix.com> | 2020-12-16 11:47:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 11:47:10 +0000 |
commit | 0502943fb1ce6f24aff1f3086e55f7ceff86bd68 (patch) | |
tree | 0d696236cea9e2b09636b886469f4974850be082 /CMakeLists.txt | |
parent | a543685d9606554feeaac00067c93f3e749faf23 (diff) | |
download | libvfio-user-0502943fb1ce6f24aff1f3086e55f7ceff86bd68.zip libvfio-user-0502943fb1ce6f24aff1f3086e55f7ceff86bd68.tar.gz libvfio-user-0502943fb1ce6f24aff1f3086e55f7ceff86bd68.tar.bz2 |
fix clang build (#210)
Also add clang to pull request build checks.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b1b0b0..29a40cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,8 @@ set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb") # set(CMAKE_C_FLAGS_RELEASE "-O3") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra") +set(CMAKE_C_FLAGS + "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -Wno-missing-field-initializers") # public headers add_subdirectory(include) |