CMakeLists.txt
changeset 11138 c936a84f05ba
parent 11095 5cf754a84eb7
child 11175 cbc6a8a5b701
     1.1 --- a/CMakeLists.txt	Mon Jul 10 17:16:12 2017 -0700
     1.2 +++ b/CMakeLists.txt	Mon Jul 10 18:31:28 2017 -0700
     1.3 @@ -1095,6 +1095,16 @@
     1.4          #include <windows.h>
     1.5          #include <xinput.h>
     1.6          int main(int argc, char **argv) { }" HAVE_XINPUT_H)
     1.7 +      check_c_source_compiles("
     1.8 +        #include <windows.h>
     1.9 +        #include <xinput.h>
    1.10 +        XINPUT_GAMEPAD_EX x1;
    1.11 +        int main(int argc, char **argv) { }" HAVE_XINPUT_GAMEPAD_EX)
    1.12 +      check_c_source_compiles("
    1.13 +        #include <windows.h>
    1.14 +        #include <xinput.h>
    1.15 +        XINPUT_STATE_EX s1;
    1.16 +        int main(int argc, char **argv) { }" HAVE_XINPUT_STATE_EX)
    1.17      else()
    1.18        check_include_file(xinput.h HAVE_XINPUT_H)
    1.19      endif()