cmake HAVE_INPUT_EVENTS examples

crossuo/crossuo deps/sdl-2.0.10-c1be3add38/CMakeLists.txt :1078

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) {}" HAVE_INPUT_EVENTS)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/SDL/CMakeLists.txt :947

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) {}" HAVE_INPUT_EVENTS)

skylersaleh/SkyEmu src/SDL2/CMakeLists.txt :1290

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) { return 0; }" HAVE_INPUT_EVENTS)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/CMakeLists.txt :645

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) {}" HAVE_INPUT_EVENTS)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/CMakeLists.txt :653

endif(HAVE_INPUT_EVENTS)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/CMakeLists.txt :660

endif(SDL_HAPTIC AND HAVE_INPUT_EVENTS)

urho3d/urho3d Source/ThirdParty/SDL/CMakeLists.txt :1080

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) {}" HAVE_INPUT_EVENTS)

openc2e/openc2e externals/SDL2/CMakeLists.txt :1445

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) { return 0; }" HAVE_INPUT_EVENTS)

rbfx/rbfx Source/ThirdParty/SDL/CMakeLists.txt :1388

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) { return 0; }" HAVE_INPUT_EVENTS)

google/filament third_party/libsdl2/CMakeLists.txt :993

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) {}" HAVE_INPUT_EVENTS)

godlikepanos/anki-3d-engine ThirdParty/Sdl2/CMakeLists.txt :1295

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) { return 0; }" HAVE_INPUT_EVENTS)

klaussilveira/qengine vendor/SDL2-2.0.22/CMakeLists.txt :1295

check_c_source_compiles("
        #include <linux/input.h>
        #ifndef EVIOCGNAME
        #error EVIOCGNAME() ioctl not available
        #endif
        int main(int argc, char** argv) { return 0; }" HAVE_INPUT_EVENTS)