From ffa58c38a30bb89adb3aae2094361d415251b1cb Mon Sep 17 00:00:00 2001 From: IoI_xD Date: Sat, 19 Sep 2026 01:58:40 +0900 Subject: [PATCH] experiment with cmake not trying to find directx --- CMakeLists.txt | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 462643e..62cda1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,15 +98,8 @@ if(MW_TRY_VULKAN) endif() if(MW_TRY_DIRECT3D9) - include(${CMAKE_CURRENT_SOURCE_DIR}/resource/FindDirectX.cmake) - if(DIRECTX_FOUND) - if(MW_TRY_DIRECT3D9) - set(MW_BUILD_DIRECT3D9 ON) - message(STATUS "Direct3D9 widget has been enabled") - endif() - else() - message(STATUS "DirectX widgets have been disabled (DirectX not found)") - endif() + set(MW_BUILD_DIRECT3D9 ON) + message(STATUS "Direct3D9 widget has been enabled") endif() if(MW_BUILD_STATIC)