From 13a51bc70ce735cee3faf8b3560591a63ad42cac Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Fri, 12 Jul 2019 01:45:42 +0300 Subject: [PATCH] Revert "Attempt to fix latest SDL2 link with HIDAPI on Windows" This reverts commit b49b1b5d5fee6d693a710e23b0e17b99a571e406. Uneeded for everywhere, it's SDL2 side build error, the patch is required for SDL2 itself --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dbb8983..ed23b1c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -666,7 +666,6 @@ if(LIBMATH_NEEDED AND NOT MSVC) endif() if(WIN32) - list(APPEND SDLMixerX_LINK_LIBS SetupAPI) option(BUILD_AS_VB6_BINDING "Compile library into solid module compatible with VisualBasic 6" OFF) if(BUILD_AS_VB6_BINDING) message("== SDL Mixer X will be built as solid module that is ready for MS-VB6 binding! ==") @@ -675,7 +674,7 @@ if(WIN32) list(REMOVE_ITEM SDLMixerX_LINK_LIBS SDL2$<$:d>) list(APPEND SDLMixerX_LINK_LIBS SDL2-static - uuid winmm ole32 imm32 version oleaut32 user32 gdi32 SetupAPI) + uuid winmm ole32 imm32 version oleaut32 user32 gdi32 setupapi) if(NOT MSVC) list(APPEND SDLMixerX_LINK_LIBS stdc++ gcc pthread) endif()