diff options
author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2020-02-17 13:41:08 +0100 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2020-02-27 18:28:48 +0200 |
commit | 7e530a9f0499a156b6c298bae0779a24c43f92d4 (patch) | |
tree | ea30ceb3a6af9a6a1afc79604a0279343db6611a /sources/pyside2/CMakeLists.txt | |
parent | 7fb712d8ad7c7b6dc47857f23586adf295cbfe4c (diff) |
shiboken: Improve the libdir for windows
With virtualenv 20 we have the case where the first
path in the PYTHON_LIBRARIES cmake variable was wrong:
a_virtual_env/libs/python3.lib
so the python code inside the helper didn't have a proper
check if the file was valid or it was just a wrong construct.
Additionally, the 'prefix' variable will contain the virtual
environment directory location, which will not contain the 'libs'
directory, because that's included in the system's installation path.
To solve this, we use the 'INCLUDEPY' directory, which is correct
as a base to create the real 'libs' one.
Task-number: PYSIDE-1231
Change-Id: Ifca08d74c49cd57572836a087edb96c089266dc7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 22e359bc19daf19033332aa2d7bb9726c7f4be14)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions