mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
Rename ENABLE_WIIMOTE to SUPPORTS_WIIMOTE
This commit is contained in:
parent
6bc53dd9f9
commit
3304090120
@ -166,7 +166,7 @@ if (UNIX AND NOT APPLE)
|
||||
|
||||
if(ENABLE_BLUEZ)
|
||||
find_package(bluez REQUIRED)
|
||||
set(ENABLE_WIIMOTE ON)
|
||||
set(SUPPORTS_WIIMOTE ON)
|
||||
add_compile_definitions(HAS_BLUEZ)
|
||||
endif()
|
||||
|
||||
@ -188,7 +188,7 @@ endif()
|
||||
|
||||
if (ENABLE_HIDAPI)
|
||||
find_package(hidapi REQUIRED)
|
||||
set(ENABLE_WIIMOTE ON)
|
||||
set(SUPPORTS_WIIMOTE ON)
|
||||
add_compile_definitions(HAS_HIDAPI)
|
||||
endif ()
|
||||
|
||||
|
||||
@ -61,7 +61,7 @@ if(WIN32)
|
||||
)
|
||||
endif()
|
||||
|
||||
if (ENABLE_WIIMOTE)
|
||||
if (SUPPORTS_WIIMOTE)
|
||||
target_compile_definitions(CemuInput PUBLIC SUPPORTS_WIIMOTE)
|
||||
target_sources(CemuInput PRIVATE
|
||||
api/Wiimote/WiimoteControllerProvider.h
|
||||
|
||||
Loading…
Reference in New Issue
Block a user