mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Fix Python package installation in CMake for tests.
This commit is contained in:
@@ -30,7 +30,9 @@ QT_ROOT=set:${QT_ROOT}"
|
||||
|
||||
mo2_python_pip_install(python-tests
|
||||
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pylibs
|
||||
PACKAGES pytest PyQt6==6.3.0)
|
||||
PACKAGES pytest
|
||||
PyQt${QT_MAJOR_VERSION}==${QT_VERSION}
|
||||
PyQt${QT_MAJOR_VERSION}-Qt${QT_MAJOR_VERSION}==${QT_VERSION})
|
||||
add_dependencies(python-tests mobase)
|
||||
set_target_properties(python-tests PROPERTIES FOLDER tests/python)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user