Appended patch allows to openm async mode with something like cmake -DASYNC-MODE=on
It should apply to libusb too. Bye -- Uwe Bonnes [email protected] Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 564dc4d..3e6c96d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,11 @@ set(MINOR_VERSION 17) set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}") +option(ASYNC-MODE "enable experimental async mode. Linux only") +if(ASYNC-MODE) + add_definitions(-DLIBFTDI_LINUX_ASYNC_MODE) +endif(ASYNC-MODE) + # CMake if("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_BUILD_TYPE Debug) -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
