+ IF(NOT(MSVC_VERSION LESS "1600"))
+ # minimum requirement for WM_TOUCH device
+ ADD_DEFINITIONS(-D_WIN32_WINNT=0x0601)
+ ADD_DEFINITIONS(-DWINVER=0x0601)
+ ELSEIF(NOT(MSVC_VERSION LESS "1300"))
+ # minimum requirement for spaceball device
+ ADD_DEFINITIONS(-D_WIN32_WINNT=0x0501)
+ ADD_DEFINITIONS(-DWINVER=0x0501)
+ ELSE()