Add -std=c99 when compiling equihash, needed by gcc 4.8

This commit is contained in:
theoreticalbts 2016-11-22 13:35:55 -05:00
parent 9bc8991f23
commit d7276e2d15

View file

@ -1,5 +1,7 @@
file(GLOB HEADERS "include/equihash/*.hpp" ) file(GLOB HEADERS "include/equihash/*.hpp" )
set( CMAKE_C_FLAGS "-std=c99" )
add_library( equihash add_library( equihash
src/pow.cpp src/pow.cpp
src/blake2b.c src/blake2b.c