Fix usage of ecm_create_qm_loader.

Generate-source-file macros should be used from the same CMakeLists.txt
file as the targets they generate files for.
wilder
Alex Merry 11 years ago
parent 75d11cc64f
commit 19513e1910
  1. 2
      src/CMakeLists.txt
  2. 2
      src/gui/CMakeLists.txt

@ -1,5 +1,3 @@
ecm_create_qm_loader(kconfig_QM_LOADER kconfig5_qt)
add_subdirectory(core)
add_subdirectory(gui)
add_subdirectory(kconfig_compiler)

@ -9,8 +9,8 @@ set(libkconfiggui_SRCS
kconfigskeleton.cpp
kstandardshortcut.cpp
kwindowconfig.cpp
${kconfig_QM_LOADER}
)
ecm_create_qm_loader(libkconfiggui_SRCS kconfig5_qt)
add_library(KF5ConfigGui ${libkconfiggui_SRCS})
generate_export_header(KF5ConfigGui BASE_NAME KConfigGui)

Loading…
Cancel
Save