Update CMake build/install documentation.

Fixes #24.
main
Alex Huszagh 2022-04-26 11:51:27 -05:00
parent 040d6d260f
commit c2064b90c9
1 changed files with 3 additions and 3 deletions

View File

@ -222,14 +222,14 @@ FetchContent_GetProperties(breeze_stylesheets)
if(NOT breeze_stylesheets_POPULATED)
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(
run_python_breeze ALL
COMMAND ${Python_EXECUTABLE} configure.py --extensions=<EXTENSIONS>
--styles=<STYLES> --resource breeze_themes.qrc
--styles=<STYLES> --resource breeze.qrc
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")
add_dependencies(breeze_themes run_python_breeze)