[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdelibs-bugs
Subject:    [frameworks-kconfig] [Bug 350892] New: Fix linking target in order to be the same as the framework n
From:       Valentin Rusu <kde () rusu ! info>
Date:       2015-08-02 22:01:34
Message-ID: bug-350892-90985 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 350892
           Summary: Fix linking target in order to be the same as the
                    framework name
           Product: frameworks-kconfig
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: matthew@mjdsystems.ca
          Reporter: kde@rusu.info
                CC: kdelibs-bugs@kde.org

I just lost half an hour trying to understand why my code won't link up and
finally that's because find_package uses KF5Config and when linking we have to
specify KF5::ConfigCore, like this:

find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED)
target_link_libraries(ksecrets_crypt PRIVATE KF5::ConfigCore) # name is not the
same here

The other frameworks do not have this problem AFAIK.


Reproducible: Always

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Kdelibs-bugs mailing list
Kdelibs-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdelibs-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic