mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 13:01:18 +12:00
Fix gamepad hotkey and game profile setting (#510)
This commit is contained in:
parent
c43fc81f8e
commit
cbdf381b31
11 changed files with 79 additions and 64 deletions
16
cmake/FindGTK3.cmake
Normal file
16
cmake/FindGTK3.cmake
Normal file
|
@ -0,0 +1,16 @@
|
|||
# SPDX-FileCopyrightText: 2022 Andrea Pappacoda <andrea@pappacoda.it>
|
||||
# SPDX-License-Identifier: ISC
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
find_package(PkgConfig)
|
||||
if (PKG_CONFIG_FOUND)
|
||||
pkg_search_module(GTK3 IMPORTED_TARGET gtk+-3.0)
|
||||
if (GTK3_FOUND)
|
||||
add_library(GTK3::gtk ALIAS PkgConfig::GTK3)
|
||||
endif()
|
||||
find_package_handle_standard_args(GTK3
|
||||
REQUIRED_VARS GTK3_LINK_LIBRARIES
|
||||
VERSION_VAR GTK3_VERSION
|
||||
)
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue