diff options
| author | 2023-11-12 02:03:55 -0500 | |
|---|---|---|
| committer | 2023-11-21 01:58:13 -0500 | |
| commit | aa2031196938c43590e5bea736edc05776c609a2 (patch) | |
| tree | 6d642b339f34475ffc32fdc22dea8a0105602f69 /CMakeModules | |
| parent | config: Unify config handling under frontend_common (diff) | |
| download | yuzu-aa2031196938c43590e5bea736edc05776c609a2.tar.gz yuzu-aa2031196938c43590e5bea736edc05776c609a2.tar.xz yuzu-aa2031196938c43590e5bea736edc05776c609a2.zip | |
general: Remove inih
Diffstat (limited to 'CMakeModules')
| -rw-r--r-- | CMakeModules/Findinih.cmake | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/CMakeModules/Findinih.cmake b/CMakeModules/Findinih.cmake deleted file mode 100644 index 791befebd..000000000 --- a/CMakeModules/Findinih.cmake +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | # SPDX-FileCopyrightText: 2022 Alexandre Bouvier <contact@amb.tf> | ||
| 2 | # | ||
| 3 | # SPDX-License-Identifier: GPL-3.0-or-later | ||
| 4 | |||
| 5 | find_package(PkgConfig QUIET) | ||
| 6 | pkg_search_module(INIH QUIET IMPORTED_TARGET inih) | ||
| 7 | if (INIReader IN_LIST inih_FIND_COMPONENTS) | ||
| 8 | pkg_search_module(INIREADER QUIET IMPORTED_TARGET INIReader) | ||
| 9 | if (INIREADER_FOUND) | ||
| 10 | set(inih_INIReader_FOUND TRUE) | ||
| 11 | endif() | ||
| 12 | endif() | ||
| 13 | |||
| 14 | include(FindPackageHandleStandardArgs) | ||
| 15 | find_package_handle_standard_args(inih | ||
| 16 | REQUIRED_VARS INIH_LINK_LIBRARIES | ||
| 17 | VERSION_VAR INIH_VERSION | ||
| 18 | HANDLE_COMPONENTS | ||
| 19 | ) | ||
| 20 | |||
| 21 | if (inih_FOUND AND NOT TARGET inih::inih) | ||
| 22 | add_library(inih::inih ALIAS PkgConfig::INIH) | ||
| 23 | endif() | ||
| 24 | |||
| 25 | if (inih_FOUND AND inih_INIReader_FOUND AND NOT TARGET inih::INIReader) | ||
| 26 | add_library(inih::INIReader ALIAS PkgConfig::INIREADER) | ||
| 27 | endif() | ||