mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
cmake: we only need a C++ compiler for Android, Haiku and UWP
This commit is contained in:
parent
66054a6515
commit
3184936950
3 changed files with 5 additions and 2 deletions
|
|
@ -1249,6 +1249,7 @@ macro(CheckHIDAPI)
|
|||
|
||||
if(HAVE_HIDAPI)
|
||||
if(ANDROID)
|
||||
enable_language(CXX)
|
||||
list(APPEND SOURCE_FILES ${SDL2_SOURCE_DIR}/src/hidapi/android/hid.cpp)
|
||||
endif()
|
||||
if(IOS OR TVOS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue