From fc386839655d45ac3c10a6967a5e7c7e4b9c4879 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 1 Aug 2014 15:31:12 +0800 Subject: cmake: set -std=c99 -Wall --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad51040e..cec4275c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,8 @@ include_directories("${PROJECT_BINARY_DIR}") # xgl global includes include_directories("${PROJECT_SOURCE_DIR}/include") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall") + # loader: Generic XGL ICD loader # main: Device independent (DI) XGL library # drivers: Device dependent (DD) XGL components -- cgit v1.2.3