diff --git a/cmake/SDL3Config.cmake.in b/cmake/SDL3Config.cmake.in index cdda42450..c40cf0473 100644 --- a/cmake/SDL3Config.cmake.in +++ b/cmake/SDL3Config.cmake.in @@ -15,7 +15,7 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL3Targets.cmake") set(SDL3_SDL3_FOUND TRUE) endif() if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL3staticTargets.cmake") - if(ANDROID) + if(ANDROID OR HAIKU) enable_language(CXX) endif() include("${CMAKE_CURRENT_LIST_DIR}/SDL3staticTargets.cmake")