CMakeLists.txt: fix typo SDL_SENSORS_DISABLED -> SDL_SENSOR_DISABLED

This commit is contained in:
Ozkan Sezer 2018-09-02 23:57:06 +03:00
parent aae29c9ebd
commit 9753b9cc46
1 changed files with 1 additions and 1 deletions

View File

@ -1578,7 +1578,7 @@ if(NOT HAVE_SDL_FILESYSTEM)
set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
endif()
if(NOT HAVE_SDL_SENSORS)
set(SDL_SENSORS_DISABLED 1)
set(SDL_SENSOR_DISABLED 1)
file(GLOB SENSORS_SOURCES ${SDL2_SOURCE_DIR}/src/sensor/dummy/*.c)
set(SOURCE_FILES ${SOURCE_FILES} ${SENSORS_SOURCES})
endif()