summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2019-02-06 02:04:48 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-14 01:57:58 +0200
commitf508d295721738a0df9e2d8175c8069aeaf0ed63 (patch)
tree56ddea7f513fefc18bcc8ced825d94ea21da3cbf /CMakeLists.txt
parentc4f79214e425ae26ec9c27cc0995122321631b87 (diff)
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 <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)