From 8f7b0ef4eb958501ee785ff96ae318914fb4d9b0 Mon Sep 17 00:00:00 2001 From: Ritchie Swann Date: Sun, 11 Aug 2024 09:31:20 +0100 Subject: [PATCH] Fix libraries on mingw64 dxguid and dwmapi are required on mingw64 and give linker errors if missing legacy_studio_definitions is not in the latest mingw64 --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 37d5d48392..dabeb3642f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -69,7 +69,9 @@ if( WIN32 ) setupapi oleaut32 dbghelp - legacy_stdio_definitions ) + dxguid + dwmapi + ) if( DEM_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) if( DX_dxguid_LIBRARY )