diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 2897728c4d77dc974c5ec02c185003ba3c0123ab..7fbbb3271dc5cd3a2bcf0d43c0ea46e81c9174ba 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -95,7 +95,7 @@ if (NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM) endif() if (NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM) - find_package(Python3 COMPONENTS Interpreter Development) + find_package(Python3 COMPONENTS Interpreter Development VERSION_LESS 3.12) if (NOT TARGET pybind11::module OR NOT TARGET pybind11::embed) include(FetchContent) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 49559dc0a0f0aee0be7cb42739c9c11129ffb079..52434263453100cc55e9120709f6703563e9ba5e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -85,11 +85,7 @@ SET (CTEST_DROP_SITE_CDASH FALSE) # ======================================================================== # ======================================================================== - if(WIN32) - ADD_TEST(BatchStart "${OPENFLIPPER_EXECUTABLE}" -b -c < NUL > output.log 2>&1) - else() - ADD_TEST(BatchStart "${OPENFLIPPER_EXECUTABLE}" -b -c < /dev/null > output.log 2>&1) - endif() + ADD_TEST(BatchStart "${OPENFLIPPER_EXECUTABLE}" -b -c) # Timeout after 180 seconds if we have an endless loop # Should be run serial to avoid collisons with other instances