| Summary: | CMake IOS haptic error | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | iOS (All) | ||
This patch is now https://hg.libsdl.org/SDL/rev/84a49d9b3e58, thanks! --ryan. Thanks a lot - one part was missed - GLOB POWER_SOURCES should be used as variable names. (Not sure whether this is a must have - but it's the cleaner way) I meant shouldn't - GLOB HAPTIC_SOURCES should be used - the patch was just recorded in the wrong direction. Sorry for the confusion. Fixed, thanks! https://hg.libsdl.org/SDL/rev/5cf754a84eb7 |
endif() if(SDL_HAPTIC) set(SDL_HAPTIC_IOKIT 1) if (IOS) - file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/dummy/*.c) + file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/dummy/*.c) set(SDL_HAPTIC_DUMMY 1) else() file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/darwin/*.c) Somehow the power sources slipped into the ios cmake section for the haptic dummy driver