Skip to content

Commit

Permalink
Workaround for python3 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Sep 25, 2022
1 parent aa62ef5 commit 7b329b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/ogre/fix-dependencies.patch
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ index 2ae0b66..1954a3f 100644
set(Python_ADDITIONAL_VERSIONS 3.4) # allows using python3 on Ubuntu 14.04
-find_package(PythonInterp)
-find_package(PythonLibs)
+find_package(Python3 COMPONENTS Development)
+find_package(Python3 COMPONENTS Development Interpreter) # Interpreter is needed for Python3_FOUND
+set(PYTHONLIBS_FOUND "${Python3_FOUND}")
+set(PYTHON_INCLUDE_PATH "${Python3_INCLUDE_DIRS}")
+set(PYTHON_LIBRARIES "${Python3_LIBRARIES}")
Expand Down

0 comments on commit 7b329b1

Please sign in to comment.