parent
040d6d260f
commit
c2064b90c9
|
@ -222,14 +222,14 @@ FetchContent_GetProperties(breeze_stylesheets)
|
||||||
if(NOT breeze_stylesheets_POPULATED)
|
if(NOT breeze_stylesheets_POPULATED)
|
||||||
FetchContent_Populate(breeze_stylesheets)
|
FetchContent_Populate(breeze_stylesheets)
|
||||||
|
|
||||||
add_library(breeze_themes STATIC "${breeze_stylesheets_SOURCE_DIR}/dist/breeze_themes.qrc")
|
add_library(breeze_themes STATIC "${breeze_stylesheets_SOURCE_DIR}/dist/breeze.qrc")
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
run_python_breeze ALL
|
run_python_breeze ALL
|
||||||
COMMAND ${Python_EXECUTABLE} configure.py --extensions=<EXTENSIONS>
|
COMMAND ${Python_EXECUTABLE} configure.py --extensions=<EXTENSIONS>
|
||||||
--styles=<STYLES> --resource breeze_themes.qrc
|
--styles=<STYLES> --resource breeze.qrc
|
||||||
WORKING_DIRECTORY ${breeze_stylesheets_SOURCE_DIR}
|
WORKING_DIRECTORY ${breeze_stylesheets_SOURCE_DIR}
|
||||||
BYPRODUCTS "${breeze_stylesheets_SOURCE_DIR}/dist/breeze_themes.qrc"
|
BYPRODUCTS "${breeze_stylesheets_SOURCE_DIR}/dist/breeze.qrc"
|
||||||
COMMENT "Generating themes")
|
COMMENT "Generating themes")
|
||||||
|
|
||||||
add_dependencies(breeze_themes run_python_breeze)
|
add_dependencies(breeze_themes run_python_breeze)
|
||||||
|
|
Loading…
Reference in New Issue