Allow to install python bindings in a custom dir

Added cmake var PYTHON_BINDINGS_INSTALL_PREFIX
This commit is contained in:
Renato Araujo Oliveira Filho
2020-06-16 16:00:21 -03:00
parent a599736c1b
commit c2d8991283
3 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
set(PYTHON_VERSION "3.7" CACHE STRING "Use specific python version to build the project.")
find_package(Python3 ${PYTHON_VERSION} REQUIRED COMPONENTS Interpreter Development)
find_package(Shiboken2 REQUIRED)
find_package(PySide2 ${Qt5Widgets_VERSION} EXACT REQUIRED)