--- CMakeLists.txt.orig 2022-09-28 23:03:18 UTC +++ CMakeLists.txt @@ -292,7 +292,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) include(Testlibstdc++) # Check that a C++ standard library is configured properly -include(TestCxx17Library) +#include(TestCxx17Library) # this test fails for clang-14 from base on 13-STABLE #----------------------------------------------------------------------- # SETUP SANITIZERS FLAGS @@ -1043,7 +1043,7 @@ include(CTest) #------------------------------------------------------------------- # Verify Python3 available #------------------------------------------------------------------- -find_package(Python3) +find_package(Python3 ${FREEBSD_PYTHON_VER} EXACT) if(NOT Python3_FOUND) message(FATAL_ERROR "Could not find required python3") endif(NOT Python3_FOUND)