From f508d295721738a0df9e2d8175c8069aeaf0ed63 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Wed, 6 Feb 2019 02:04:48 -0500 Subject: cmake: enable C warning flags The C flags for warning were present but commented out. Uncomment them to enable them. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29ab2c1..2cb8c20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0) project(uvc-gadget) set(CMAKE_BUILD_TYPE Release) -#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -Werror") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -Werror") include_directories(${CMAKE_BINARY_DIR}/generated) -- cgit v1.2.3