Bug 381422 - cmake config file not set QApt_INCLUDE_DIRS and QApt_LIBRARIES variable
Summary: cmake config file not set QApt_INCLUDE_DIRS and QApt_LIBRARIES variable
Status: RESOLVED NOT A BUG
Alias: None
Product: libqapt
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-20 01:46 UTC by sbw
Modified: 2017-06-20 06:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sbw 2017-06-20 01:46:58 UTC
I'm using libqapt in my project, and I have import libqapt by cmake `find_package(QApt)`
But the variable ${QApt_LIBRARIES} and ${QApt_INCLUDE_DIRS} is empty.
Comment 1 Harald Sitter 2017-06-20 06:46:00 UTC
It defines an imported target `QApt::Main`

https://cmake.org/cmake/help/git-master/manual/cmake-packages.7.html#config-file-packages