Bug 381422

Summary: cmake config file not set QApt_INCLUDE_DIRS and QApt_LIBRARIES variable
Product: [Unmaintained] libqapt Reporter: sbw <sbw>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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