mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Rename ENABLE_WIIMOTE
to SUPPORTS_WIIMOTE
This commit is contained in:
parent
6bc53dd9f9
commit
3304090120
2 changed files with 3 additions and 3 deletions
|
@ -166,7 +166,7 @@ if (UNIX AND NOT APPLE)
|
||||||
|
|
||||||
if(ENABLE_BLUEZ)
|
if(ENABLE_BLUEZ)
|
||||||
find_package(bluez REQUIRED)
|
find_package(bluez REQUIRED)
|
||||||
set(ENABLE_WIIMOTE ON)
|
set(SUPPORTS_WIIMOTE ON)
|
||||||
add_compile_definitions(HAS_BLUEZ)
|
add_compile_definitions(HAS_BLUEZ)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -188,7 +188,7 @@ endif()
|
||||||
|
|
||||||
if (ENABLE_HIDAPI)
|
if (ENABLE_HIDAPI)
|
||||||
find_package(hidapi REQUIRED)
|
find_package(hidapi REQUIRED)
|
||||||
set(ENABLE_WIIMOTE ON)
|
set(SUPPORTS_WIIMOTE ON)
|
||||||
add_compile_definitions(HAS_HIDAPI)
|
add_compile_definitions(HAS_HIDAPI)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ if(WIN32)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ENABLE_WIIMOTE)
|
if (SUPPORTS_WIIMOTE)
|
||||||
target_compile_definitions(CemuInput PUBLIC SUPPORTS_WIIMOTE)
|
target_compile_definitions(CemuInput PUBLIC SUPPORTS_WIIMOTE)
|
||||||
target_sources(CemuInput PRIVATE
|
target_sources(CemuInput PRIVATE
|
||||||
api/Wiimote/WiimoteControllerProvider.h
|
api/Wiimote/WiimoteControllerProvider.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue