diff options
Diffstat (limited to 'CMakeModules/FindSPIRV-Tools.cmake')
| -rw-r--r-- | CMakeModules/FindSPIRV-Tools.cmake | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/CMakeModules/FindSPIRV-Tools.cmake b/CMakeModules/FindSPIRV-Tools.cmake deleted file mode 100644 index e0f9a88d54..0000000000 --- a/CMakeModules/FindSPIRV-Tools.cmake +++ /dev/null @@ -1,26 +0,0 @@ -# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project -# SPDX-License-Identifier: GPL-3.0-or-later - -# SPDX-FileCopyrightText: 2022 yuzu Emulator Project -# SPDX-License-Identifier: GPL-2.0-or-later - -include(FindPackageHandleStandardArgs) - -find_package(PkgConfig QUIET) -pkg_search_module(SPIRV-Tools QUIET IMPORTED_TARGET SPIRV-Tools) -find_package_handle_standard_args(SPIRV-Tools - REQUIRED_VARS SPIRV-Tools_LINK_LIBRARIES - VERSION_VAR SPIRV-Tools_VERSION -) - -if (PLATFORM_MSYS) - FixMsysPath(PkgConfig::SPIRV-Tools) -endif() - -if (SPIRV-Tools_FOUND AND NOT TARGET SPIRV-Tools::SPIRV-Tools) - if (TARGET SPIRV-Tools) - add_library(SPIRV-Tools::SPIRV-Tools ALIAS SPIRV-Tools) - else() - add_library(SPIRV-Tools::SPIRV-Tools ALIAS PkgConfig::SPIRV-Tools) - endif() -endif() |
