Skip to content

Commit

Permalink
cmake fix take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrik-johansson committed Oct 25, 2023
1 parent 88bcb2e commit 186ffda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ include(TestBigEndian)

# Source of truth for project version
file(STRINGS VERSION FLINT_VERSION_FULL)
string(REGEX MATCH "([0-9]+\.[0-9]+\.[0-9]+)" _ ${FLINT_VERSION_FULL})
set(FLINT_VERSION ${CMAKE_MATCH_1})

project(flint
VERSION ${FLINT_VERSION_FULL}
VERSION ${FLINT_VERSION}
DESCRIPTION "Fast Library for Number Theory"
HOMEPAGE_URL https://flintlib.org/
LANGUAGES C CXX)
Expand Down

0 comments on commit 186ffda

Please sign in to comment.