[kmymoney] [Bug 518580] New: BUILD_STATIC_PLUGINS no longer works, "Either NAMESPACE or TARGETS must be set"

Dawid Wróbel bugzilla_noreply at kde.org
Sun Apr 5 10:44:38 BST 2026


https://bugs.kde.org/show_bug.cgi?id=518580

            Bug ID: 518580
           Summary: BUILD_STATIC_PLUGINS no longer works, "Either
                    NAMESPACE or TARGETS must be set"
    Classification: Applications
           Product: kmymoney
      Version First git (master)
       Reported In:
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: buildsystem
          Assignee: kmymoney-devel at kde.org
          Reporter: me at dawidwrobel.com
  Target Milestone: ---

When trying to compile with BUILD_STATIC_PLUGINS=ON, CMake fails with:

CMake Error at /usr/lib64/cmake/KF6CoreAddons/KF6CoreAddonsMacros.cmake:92
(message):
  Either NAMESPACE or TARGETS must be set
Call Stack (most recent call first):
  kmymoney/CMakeLists.txt:124 (kcoreaddons_target_static_plugins)

Looks like the kcoreaddons_target_static_plugins() usage was updated somewhat
recently.

STEPS TO REPRODUCE
1. Enable BUILD_STATIC_PLUGINS CMake switch
2. Load CMake project

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list