Bug 341149 - Add pkg-config fallback to find Wayland
Summary: Add pkg-config fallback to find Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: extra-cmake-modules
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.24.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alex Merry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 07:55 UTC by Andreas Müller
Modified: 2017-11-05 17:27 UTC (History)
3 users (show)

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


Attachments
patch (1.16 KB, patch)
2014-11-21 07:55 UTC, Andreas Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
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