Skip to content
Snippets Groups Projects
Commit bbfc5939 authored by Daniel Savchenko's avatar Daniel Savchenko
Browse files

change to python 312, because pybind cant find 313

parent c4701980
No related branches found
No related tags found
2 merge requests!265Mac fix,!264Mac fix
...@@ -96,7 +96,7 @@ endif() ...@@ -96,7 +96,7 @@ endif()
if (NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM) if (NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM)
if (NOT Python3_FOUND) if (NOT Python3_FOUND)
find_package(Python3 3.13 COMPONENTS Interpreter Development) find_package(Python3 3.12 COMPONENTS Interpreter Development)
endif() endif()
if (NOT TARGET pybind11::module OR NOT TARGET pybind11::embed) if (NOT TARGET pybind11::module OR NOT TARGET pybind11::embed)
include(FetchContent) include(FetchContent)
......
...@@ -131,9 +131,9 @@ elif sys.platform == "win32": ...@@ -131,9 +131,9 @@ elif sys.platform == "win32":
cmake_parameters = [cmake_executable, gtest_prefix , "-G", cmake_generator ,"-DCMAKE_BUILD_TYPE=Debug","-DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE"] cmake_parameters = [cmake_executable, gtest_prefix , "-G", cmake_generator ,"-DCMAKE_BUILD_TYPE=Debug","-DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE"]
cmake_parameters.append("--debug-output") cmake_parameters.append("--debug-output")
cmake_parameters.append("-DPython3_INCLUDE_DIR=C:\Program Files\Python313\include") cmake_parameters.append("-DPython3_INCLUDE_DIR=C:\Program Files\Python312\include")
cmake_parameters.append("-DPython3_LIBRARY=C:\Program Files\Python313\libs\python313.lib") cmake_parameters.append("-DPython3_LIBRARY=C:\Program Files\Python312\libs\python312.lib")
cmake_parameters.append("-DPython3_EXECUTABLE=C:\Program Files\Python313\python.exe") cmake_parameters.append("-DPython3_EXECUTABLE=C:\Program Files\Python312\python.exe")
cmake_parameters.extend(cmake_configuration_list) cmake_parameters.extend(cmake_configuration_list)
cmake_parameters.append("..") cmake_parameters.append("..")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment