SDL2Config.cmake
author Sam Lantinga
Fri, 28 Sep 2018 21:19:27 -0700
changeset 12258 231245d461a2
parent 11210 c92070a96da5
permissions -rw-r--r--
Mark a subsystem as dummy, not disabled, if it was intended to be compiled in.

From Tom Black:

I'm having problems initializing the sensor module. I'm compiling with a standard ./configure && make && sudo make install, and the module says it's enabled, but SDL_Init(SDL_INIT_EVERYTHING) is failing with SDL_GetError() returning "SDL not built with sensor support".
     1 include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")