summaryrefslogtreecommitdiff
path: root/include/SDL_config.h.cmake
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2020-04-13 08:05:29 -0700
committerSam Lantinga <slouken@libsdl.org>2020-04-13 08:05:29 -0700
commit68d19395a38afa4e6b79e721407de3d958930f69 (patch)
tree1058e07e4f93571515290a11e8cb43662df9c770 /include/SDL_config.h.cmake
parentd85df559b0ccc6f6b66017b1055fa31757b70dd1 (diff)
downloadsdl-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.cmake6
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@