projects
/
platform
/
upstream
/
OpenCL-ICD-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4289e2
)
Add C99 flag as last commit added some c99 variable declarations (#135)
author
John Kesapides
<46718829+JohnKesapidesARM@users.noreply.github.com>
Fri, 11 Dec 2020 10:41:18 +0000
(10:41 +0000)
committer
GitHub
<noreply@github.com>
Fri, 11 Dec 2020 10:41:18 +0000
(10:41 +0000)
* Add C99 flag as last commit added some c99 variable declarations
Signed-off-by: John Kesapides <john.kesapides@arm.com>
* Add CMAKE_C_STANDARD_REQUIRED
Signed-off-by: John Kesapides <john.kesapides@arm.com>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
fa791a3
..
620aff6
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-4,6
+4,8
@@
project (OpenCL-ICD-Loader VERSION 1.2)
include (GNUInstallDirs)
find_package (Threads REQUIRED)
+set(CMAKE_C_STANDARD 99)
+set(CMAKE_C_STANDARD_REQUIRED ON)
# The option below allows building the ICD Loader library as a shared library
# (ON, default) or a static library (OFF).
#