From da286a8c70b396267b580d1f8eb86dab223d8d2f Mon Sep 17 00:00:00 2001 From: Lars Toenning Date: Sat, 14 Jun 2025 12:45:30 +0200 Subject: [PATCH] refactor: Remove dplay --- CMakeLists.txt | 1 - cmake/dplay/CMakeLists.txt | 16 ---------------- 2 files changed, 17 deletions(-) delete mode 100644 cmake/dplay/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index b9a158fba..685610114 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,6 @@ add_subdirectory(cmake/dbus) add_subdirectory(cmake/sodium) add_subdirectory(cmake/opus) add_subdirectory(cmake/simconnect) -add_subdirectory(cmake/dplay) add_subdirectory(third_party) diff --git a/cmake/dplay/CMakeLists.txt b/cmake/dplay/CMakeLists.txt deleted file mode 100644 index 4bb64acf1..000000000 --- a/cmake/dplay/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -# SPDX-FileCopyrightText: Copyright (C) swift Project Community / Contributors -# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1 - -if(SWIFT_BUILD_FS9_PLUGIN) - set(DPLAY_PATH ${PROJECT_SOURCE_DIR}/third_party/externals/win32-msvc/32/include) - if(NOT EXISTS "${DPLAY_PATH}/dplay8.h") - message(WARNING "DPLAY_PATH does not point to dplay include directory. FS9 support disabled.") - set(SWIFT_BUILD_FS9_PLUGIN OFF PARENT_SCOPE) - endif() - - if(SWIFT_BUILD_FS9_PLUGIN) - add_library(externals_dplay INTERFACE IMPORTED GLOBAL) - target_include_directories(externals_dplay INTERFACE ${DPLAY_PATH}) - target_link_libraries(externals_dplay INTERFACE dxguid) - endif() -endif()