Skip to content

Commit

Permalink
Removed XInput DLL dependency on windows.
Browse files Browse the repository at this point in the history
Removed win32 build script.
  • Loading branch information
qoala101 committed May 24, 2023
1 parent 6db4292 commit b18553b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 0 additions & 4 deletions script/build_win32.bat

This file was deleted.

7 changes: 7 additions & 0 deletions thirdparty/imgui-node-editor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ add_library(thirdparty::application ALIAS application)
add_library(thirdparty::imgui ALIAS imgui)
add_library(thirdparty::imgui_node_editor ALIAS imgui_node_editor)

if(WIN32)
target_compile_definitions(application
PRIVATE IMGUI_IMPL_WIN32_DISABLE_GAMEPAD
PRIVATE IMGUI_IMPL_WIN32_DISABLE_LINKING_XINPUT
)
endif()

mark_as_system_target(application)
mark_as_system_target(imgui)
mark_as_system_target(imgui_node_editor)
Expand Down

0 comments on commit b18553b

Please sign in to comment.