4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
7 include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/libusb)
15 add_library(usbehci SHARED
19 target_link_libraries(usbehci
24 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
26 #add_target_compile_flags(usbehci "/GR-")
27 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/GR-")
29 target_link_libraries(usbehci -lgcc)
30 #add_target_compile_flags(usbehci "-fno-exceptions -fno-rtti")
31 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
34 set_module_type(usbehci kernelmodedriver)
35 add_importlibs(usbehci ntoskrnl hal usbd)
37 add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)