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 committed 2024-03-11 00:27:54 +01:00
1 parent fde420a645
commit b5eb704fa8
3 files changed
+5 -2

No files matched your search

+1
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)