mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 02:26:54 +01:00
15 lines
357 B
CMake
15 lines
357 B
CMake
|
find_package(PkgConfig)
|
||
|
|
||
|
pkg_search_module(WAYLAND_CLIENT IMPORTED_TARGET wayland-client)
|
||
|
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_package_handle_standard_args(Wayland
|
||
|
REQUIRED_VARS
|
||
|
WAYLAND_CLIENT_LIBRARIES
|
||
|
VERSION_VAR WAYLAND_CLIENT_VERSION
|
||
|
)
|
||
|
|
||
|
if (Wayland_FOUND)
|
||
|
add_library(Wayland::client ALIAS PkgConfig::WAYLAND_CLIENT)
|
||
|
endif()
|