Bug 382076

Summary: Unknown CMake command "find_dependency".
Product: [Frameworks and Libraries] Akonadi Reporter: Scarlett Moore <sgmoore>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Add include patch

Description Scarlett Moore 2017-07-06 21:23:41 UTC
Created attachment 106474 [details]
Add include patch

Failed

libkf5akonadinotes-dev.KF5AkonadiNotes.find_package (from libkf5akonadinotes-dev.CMakePackages)

Failing for the past 10 builds (Since Unstable#1 )
Took 0 ms.
Standard Output

-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "/tmp/d20170627-1-1m5xid/CMakeFiles/CMakeOutput.log".
Standard Error

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/KF5AkonadiNotes/KF5AkonadiNotesConfig.cmake:37 (find_dependency):
  Unknown CMake command "find_dependency".
Call Stack (most recent call first):
  CMakeLists.txt:2 (find_package)

My attached patch fixes error.
https://build.neon.kde.org/job/xenial_unstable_applications_akonadi-notes/
Comment 1 Laurent Montel 2017-07-07 04:52:57 UTC
Git commit 57a51da3d753dec8ed7546bae103e89f27ee5d6e by Montel Laurent.
Committed on 07/07/2017 at 04:52.
Pushed by mlaurent into branch 'master'.

Fix Bug 382076 - Unknown CMake command "find_dependency"

Patch from Scarlett Clark

M  +1    -1    KF5AkonadiNotesConfig.cmake.in

https://commits.kde.org/akonadi-notes/57a51da3d753dec8ed7546bae103e89f27ee5d6e