mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-04 06:45:45 +02:00
build: Make Python a required dependency.
Python 3 is required to generate the resources.qrc file. Change-Id: Ifb82097183715e6a1a1008a1bb58272afd8019ec
This commit is contained in:
parent
9807ed0947
commit
a2e8238be5
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ file(GLOB_RECURSE
|
||||||
${PROJECT_SOURCE_DIR}/resources/*
|
${PROJECT_SOURCE_DIR}/resources/*
|
||||||
)
|
)
|
||||||
include(FindPythonInterp)
|
include(FindPythonInterp)
|
||||||
|
find_package(PythonInterp 3 REQUIRED)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/gen-resources.py
|
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/gen-resources.py
|
||||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||||
|
|
Loading…
Add table
Reference in a new issue