diff options
author | Sam Lantinga <slouken@libsdl.org> | 2020-04-13 08:05:29 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2020-04-13 08:05:29 -0700 |
commit | 68d19395a38afa4e6b79e721407de3d958930f69 (patch) | |
tree | 1058e07e4f93571515290a11e8cb43662df9c770 /include/SDL_config.h.cmake | |
parent | d85df559b0ccc6f6b66017b1055fa31757b70dd1 (diff) | |
download | sdl-68d19395a38afa4e6b79e721407de3d958930f69.tar.gz |
Partial fix for bug 5086 - CMake builds on Windows broken by sensor support (thanks DominikD!)
Diffstat (limited to 'include/SDL_config.h.cmake')
-rw-r--r-- | include/SDL_config.h.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake index cc6d06476..d74ea9205 100644 --- a/include/SDL_config.h.cmake +++ b/include/SDL_config.h.cmake @@ -410,6 +410,12 @@ #cmakedefine SDL_POWER_EMSCRIPTEN @SDL_POWER_EMSCRIPTEN@ #cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@ +/* Enable sensor support */ +#cmakedefine SDL_SENSOR_ANDROID @SDL_SENSOR_ANDROID@ +#cmakedefine SDL_SENSOR_WINDOWS @SDL_SENSOR_WINDOWS@ +#cmakedefine SDL_SENSOR_COREMOTION @SDL_SENSOR_COREMOTION@ +#cmakedefine SDL_SENSOR_DUMMY @SDL_SENSOR_DUMMY@ + /* Enable system filesystem support */ #cmakedefine SDL_FILESYSTEM_ANDROID @SDL_FILESYSTEM_ANDROID@ #cmakedefine SDL_FILESYSTEM_HAIKU @SDL_FILESYSTEM_HAIKU@ |