projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3982d78
)
cmake: -Werror -Wextra -Wno...
author
Chia-I Wu
<olvaffe@gmail.com>
Sun, 3 Aug 2014 23:31:46 +0000
(07:31 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Sun, 3 Aug 2014 23:32:53 +0000
(07:32 +0800)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 0d6c7fd6ca365db1191da4d851b15f625d207cc5..453cc61f3e4172ba3854563669899fa3bb3431f5 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-23,7
+23,7
@@
if (NOT LIBDRM_FOUND)
message(FATAL_ERROR "libdrm not found")
endif()
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -W
all
")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -W
error -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter
")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")
include(GetGitRevisionDescription)