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 -1
View File
@@ -25,7 +25,7 @@ not_ok () {
failed=1
}
version=$(sed -Ene 's/^project\(SDL[0-9]+ LANGUAGES C CXX VERSION "([0-9.]*)"\)$/\1/p' CMakeLists.txt)
version=$(sed -Ene 's/^project\(SDL[0-9]+ LANGUAGES C VERSION "([0-9.]*)"\)$/\1/p' CMakeLists.txt)
if [ "$ref_version" = "$version" ]; then
ok "CMakeLists.txt $version"