From 19513e1910f19375a4c17a61f048c7f8c2f9e840 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Tue, 3 Nov 2015 15:04:46 +0000 Subject: 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. --- src/CMakeLists.txt | 2 -- src/gui/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.1