RHEL8 updated available python to 3.11, breaks detection of installed 3.9
diff --git a/CMakeLists.txt b/CMakeLists.txt index a7dcd26..2838341 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -24,9 +24,9 @@ set (ErrorFlag FALSE) # Find Python -find_package (Python 3 COMPONENTS Interpreter Development) +find_package (Python 3.9 COMPONENTS Interpreter Development) if (NOT Python_FOUND) - message (STATUS "ERROR: Python 3 not found, but is required") + message (STATUS "ERROR: Python 3.9 not found, but is required") set (ErrorFlag TRUE) endif ()