CMakeLists.txt
changeset 12130 24142c5073a4
parent 12072 1e46699fa470
child 12149 e037e9c2bc00
     1.1 --- a/CMakeLists.txt	Tue Aug 21 11:59:13 2018 -0700
     1.2 +++ b/CMakeLists.txt	Tue Aug 21 12:11:34 2018 -0700
     1.3 @@ -750,6 +750,10 @@
     1.4    file(GLOB HAPTIC_SOURCES ${SDL2_SOURCE_DIR}/src/haptic/*.c)
     1.5    set(SOURCE_FILES ${SOURCE_FILES} ${HAPTIC_SOURCES})
     1.6  endif()
     1.7 +if(SDL_SENSOR)
     1.8 +  file(GLOB SENSOR_SOURCES ${SDL2_SOURCE_DIR}/src/sensor/*.c)
     1.9 +  set(SOURCE_FILES ${SOURCE_FILES} ${SENSOR_SOURCES})
    1.10 +endif()
    1.11  if(SDL_POWER)
    1.12    file(GLOB POWER_SOURCES ${SDL2_SOURCE_DIR}/src/power/*.c)
    1.13    set(SOURCE_FILES ${SOURCE_FILES} ${POWER_SOURCES})