Skip to content
Snippets Groups Projects
Commit a2e8238b authored by Maxim Cournoyer's avatar Maxim Cournoyer Committed by Sébastien Blin
Browse files

build: Make Python a required dependency.

Python 3 is required to generate the resources.qrc file.

Change-Id: Ifb82097183715e6a1a1008a1bb58272afd8019ec
parent 9807ed09
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ file(GLOB_RECURSE
${PROJECT_SOURCE_DIR}/resources/*
)
include(FindPythonInterp)
find_package(PythonInterp 3 REQUIRED)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/gen-resources.py
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment