List .ui files instead of globbing them.
This commit is contained in:
parent
5e7dff18ec
commit
b0e6104e91
|
@ -34,11 +34,7 @@ set(kpmcore_SRCS
|
|||
${GUI_SRC}
|
||||
)
|
||||
|
||||
file(GLOB kpmcore_UIFILES config/*.ui)
|
||||
file(GLOB gui_UIFILES gui/*.ui)
|
||||
list(APPEND kpmcore_UIFILES ${gui_UIFILES})
|
||||
|
||||
ki18n_wrap_ui(kpmcore_SRCS ${kpmcore_UIFILES})
|
||||
ki18n_wrap_ui(kpmcore_SRCS ${gui_UIFILES})
|
||||
|
||||
add_library(kpmcore SHARED ${kpmcore_SRCS})
|
||||
target_link_libraries( kpmcore
|
||||
|
|
|
@ -13,3 +13,7 @@ set(GUI_LIB_HDRS
|
|||
gui/partwidget.h
|
||||
gui/partwidgetbase.h
|
||||
)
|
||||
|
||||
set(gui_UIFILES
|
||||
gui/decryptluksdialogwidgetbase.ui
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue