Skip to content

Commit ddb4721

Browse files
committed
do_cmake.sh: add support for Fedora 41
Otherwise the `EXACT`check for Python version in the root `CMakeList.txt` fails. Signed-off-by: Radoslaw Zarzynski <[email protected]>
1 parent 2c0b63c commit ddb4721

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

do_cmake.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ if [ -r /etc/os-release ]; then
1919
source /etc/os-release
2020
case "$ID" in
2121
fedora)
22-
if [ "$VERSION_ID" -ge "39" ] ; then
22+
if [ "$VERSION_ID" -ge "41" ] ; then
23+
PYBUILD="3.13"
24+
elif [ "$VERSION_ID" -ge "39" ] ; then
2325
PYBUILD="3.12"
2426
else
2527
# Fedora 37 and above

0 commit comments

Comments
 (0)