Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
fb0e6c0d
Unverified
Commit
fb0e6c0d
authored
Aug 31, 2020
by
Michael Grunder
Committed by
GitHub
Aug 31, 2020
Browse files
Merge pull request #870 from michael-grunder/cmake-c99
Explicitly set c99 in CMake
parents
bea137ca
13a35bdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
fb0e6c0d
...
@@ -22,6 +22,9 @@ MESSAGE("Detected version: ${VERSION}")
...
@@ -22,6 +22,9 @@ MESSAGE("Detected version: ${VERSION}")
PROJECT
(
hiredis VERSION
"
${
VERSION
}
"
)
PROJECT
(
hiredis VERSION
"
${
VERSION
}
"
)
# Hiredis requires C99
SET
(
CMAKE_C_STANDARD 99
)
SET
(
ENABLE_EXAMPLES OFF CACHE BOOL
"Enable building hiredis examples"
)
SET
(
ENABLE_EXAMPLES OFF CACHE BOOL
"Enable building hiredis examples"
)
SET
(
hiredis_sources
SET
(
hiredis_sources
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment