set c99 standard as default

This commit is contained in:
Krishna Vedala 2020-04-07 22:27:27 -04:00 committed by GitHub
parent 3a816e0414
commit fd2970182d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,9 @@ include_directories(function_timer/include)
# include_directories(${CMAKE_BINARY_DIR}/include)
# link_directories(${CMAKE_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE})
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
add_subdirectory(conversions)
add_subdirectory(misc)
add_subdirectory(project_euler)