X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=CMakeLists.txt;h=796b0d4dbc85c09d2bfe96a37678d89608885c44;hp=8a871785dbd850b27dc1fc9d54f5754465de2905;hb=02e4a740e847307c069bf0f58b24c72d6f239183;hpb=998266bf16a3f88480382070b4af670d5998a1c5 diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a87178..796b0d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,11 +5,6 @@ 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) @@ -17,6 +12,8 @@ endif("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_COLOR_MAKEFILE ON) cmake_minimum_required(VERSION 2.6 FATAL_ERROR) +add_definitions(-Wall) + # Debug build message("-- Build type: ${CMAKE_BUILD_TYPE}") if(${CMAKE_BUILD_TYPE} STREQUAL Debug)