Skip to content

Commit

Permalink
Set C standard to C11 in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Nov 14, 2023
1 parent 841826d commit ab57a22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ project(flint
HOMEPAGE_URL https://flintlib.org/
LANGUAGES C CXX)

set_property(C_STANDARD 11)

file(READ "${CMAKE_CURRENT_SOURCE_DIR}/configure.ac" CONFIGURE_CONTENTS)
foreach(version in MAJOR MINOR PATCH)
# Set soname version for the library
Expand Down

0 comments on commit ab57a22

Please sign in to comment.