cmake: we only need a C++ compiler for Android, Haiku and UWP

Our CMake script does (currently) not support NGage, Xbox One, or Xbox Series.
This commit is contained in:
Anonymous Maarten
2024-03-10 23:57:24 +01:00
parent fde420a645
commit b5eb704fa8
3 changed files with 5 additions and 2 deletions

View File

@@ -1068,6 +1068,7 @@ macro(CheckHIDAPI)
if(HAVE_HIDAPI)
if(ANDROID)
enable_language(CXX)
sdl_sources("${SDL3_SOURCE_DIR}/src/hidapi/android/hid.cpp")
endif()
if(IOS OR TVOS)