diff options
author | Alex Merry <alex.merry@kde.org> | 2015-11-03 15:04:46 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@kde.org> | 2015-11-03 15:04:46 +0000 |
commit | 19513e1910f19375a4c17a61f048c7f8c2f9e840 (patch) | |
tree | 25d75eabc6cede11aa0365640fd9b109ae409c78 | |
parent | 75d11cc64fee09189bfe8f968f0558e3d1000db8 (diff) | |
download | kconfig-19513e1910f19375a4c17a61f048c7f8c2f9e840.tar.gz kconfig-19513e1910f19375a4c17a61f048c7f8c2f9e840.tar.bz2 |
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.
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/gui/CMakeLists.txt | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f7c79cec..916d51fb 100644 --- a/src/CMakeLists.txt +++ b/src/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) diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 6632a32e..9663e09f 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -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) |