Skip to content

Commit

Permalink
Revert "Attempt to fix latest SDL2 link with HIDAPI on Windows"
Browse files Browse the repository at this point in the history
This reverts commit b49b1b5.

Uneeded for everywhere, it's SDL2 side build error, the patch
is required for SDL2 itself
  • Loading branch information
Wohlstand committed Jul 11, 2019
1 parent b49b1b5 commit 13a51bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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! ==")
Expand All @@ -675,7 +674,7 @@ if(WIN32)
list(REMOVE_ITEM SDLMixerX_LINK_LIBS SDL2$<$<CONFIG:Debug>: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()
Expand Down

0 comments on commit 13a51bc

Please sign in to comment.