Skip to content

Commit

Permalink
Use CONFIGURE_DEPENDS for GLOBs (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicer86 committed Jan 20, 2024
1 parent 9f37399 commit 904834d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/desktop/QmlItems/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ set(CPP_SOURCES
file(GLOB_RECURSE
QML_SOURCES
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
CONFIGURE_DEPENDS
*.qml
)

Expand Down
1 change: 1 addition & 0 deletions src/gui/desktop/quick_items/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ set(QUICK_ITEMS_CPP_SOURCES
file(GLOB_RECURSE
QML_SOURCES
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
CONFIGURE_DEPENDS
*.qml *.js
)

Expand Down
1 change: 1 addition & 0 deletions tr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if(LUPDATE AND LRELEASE)
# collect all source files for translations
file(GLOB_RECURSE source_files
LIST_DIRECTORIES FALSE
CONFIGURE_DEPENDS
${CMAKE_SOURCE_DIR}/src/*.cpp
${CMAKE_SOURCE_DIR}/src/*.hpp
${CMAKE_SOURCE_DIR}/src/*.ui
Expand Down

0 comments on commit 904834d

Please sign in to comment.