X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=CMakeLists.txt;h=3e6c96d6066b7c58a3e7ee5d50d2bf438030016b;hp=564dc4d4f3ef3970b134e84d02182b6cbdefa586;hb=5cc2b9c1cf646f98914ff5785f6f3fb994c334d1;hpb=5478cd5944da978707c0c23c5c7a84554a0ea6f7 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)