Bug 341149

Summary: Add pkg-config fallback to find Wayland
Product: [Frameworks and Libraries] extra-cmake-modules Reporter: Andreas Müller <schnitzeltony>
Component: generalAssignee: Alex Merry <alex.merry>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ecm-bugs-null, mgraesslin, schnitzeltony
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch

Description Andreas Müller 2014-11-21 07:55:10 UTC
Created attachment 89660 [details]
patch

Fix configuration for build systems missing wayland cmake-files
Comment 1 Martin Flöser 2014-11-21 09:15:45 UTC
I think the patch is wrong (though I'm not a CMake expert). I think this should rather go directly into the find wayland package script in ECM.
Comment 2 Christophe Marin 2016-09-09 18:20:53 UTC
well, are the required components installed and is the installed version correct  ?

FindWayland.cmake in ECM does :

include(${CMAKE_CURRENT_LIST_DIR}/ECMFindModuleHelpersStub.cmake)

which does :

include(${CMAKE_CURRENT_LIST_DIR}/../modules/ECMFindModuleHelpers.cmake)

and the ecm_find_package_handle_library_components macro in ECMFindModuleHelpers.cmake does :

    find_package(PkgConfig) (line 217)

Conclusion, if there's a problem, this commit just hides it.
Comment 3 Christophe Marin 2017-11-05 17:27:55 UTC
No news. Closing