Unverified Commit fb0e6c0d authored by Michael Grunder's avatar Michael Grunder Committed by GitHub
Browse files

Merge pull request #870 from michael-grunder/cmake-c99

Explicitly set c99 in CMake
parents bea137ca 13a35bdb
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment