|
@@ -9,12 +9,12 @@ file (GLOB C_FILES
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
if (WIN32)
|
|
if (WIN32)
|
|
|
- CHECK_INCLUDE_FILES (wbemcli.h HAVE_WBEMCLI_H)
|
|
|
|
|
# New MinGW versions may evaluate whether to use A or W postfix on functions before SDL gets to define UNICODE on its own,
|
|
# New MinGW versions may evaluate whether to use A or W postfix on functions before SDL gets to define UNICODE on its own,
|
|
|
# so make sure it is already defined
|
|
# so make sure it is already defined
|
|
|
if (MINGW)
|
|
if (MINGW)
|
|
|
add_definitions (-DUNICODE=1)
|
|
add_definitions (-DUNICODE=1)
|
|
|
endif ()
|
|
endif ()
|
|
|
|
|
+ CHECK_INCLUDE_FILES (wbemcli.h HAVE_WBEMCLI_H)
|
|
|
if (HAVE_WBEMCLI_H)
|
|
if (HAVE_WBEMCLI_H)
|
|
|
add_definitions (-DSDL_JOYSTICK_DINPUT)
|
|
add_definitions (-DSDL_JOYSTICK_DINPUT)
|
|
|
add_definitions (-DSDL_HAPTIC_DINPUT)
|
|
add_definitions (-DSDL_HAPTIC_DINPUT)
|