Changeset 86ff00


Ignore:
Timestamp:
08/20/09 16:19:14 (4 years ago)
Author:
Micke Prag <micke.prag@…>
Branches:
('2.0', '0b4fd7477e6d153e12b58a090dbdd47e825aac4a')('light-2.0', 'a53e1e1ce5104640a0fe516f60ccd61c37e465dc')
Children:
8c601f35e3d74f1db2887e026df384c4728c7a9f
Parents:
ab77a8fa5d0d27b0627f179bc2cf7459ff510a3d
git-author:
Micke Prag <micke.prag@telldus.se>2009-08-20 14:19:14+00:00
git-committer:
Micke Prag <micke.prag@telldus.se>2009-08-20 14:19:14+00:00
Message:

Removed both the dependency to libftd2xx and libftdi by default on Linux. Also made CMake 2.6.0 the minimum version of cmake, CMake 2.4.0 is no longer supported

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    rffcb00 r86ff00  
    11PROJECT( telldus-core ) 
    22 
    3 CMAKE_MINIMUM_REQUIRED( VERSION 2.4.0 ) 
     3CMAKE_MINIMUM_REQUIRED( VERSION 2.6.0 ) 
    44 
    5 if(COMMAND cmake_policy) 
    6         cmake_policy(SET CMP0003 NEW) 
    7 endif(COMMAND cmake_policy) 
     5cmake_policy(SET CMP0003 NEW) 
    86 
    9 SET(PACKAGE_VERSION 2) 
    10 SET(PACKAGE_SOVERSION 2.0.0) 
     7SET(PACKAGE_VERSION 2.0.0) 
     8SET(PACKAGE_SOVERSION 2) 
    119 
    1210SET(DISPLAYED_VERSION 2.0.0_beta1) 
     
    1412SET(BUILD_LIBTELLDUS-CORE       TRUE    CACHE BOOL "Build libtelldus-core") 
    1513SET(SUPPORT_TELLSTICK_DUO FALSE CACHE BOOL "Include support for TellStick Duo") 
    16 SET(SUPPORT_USB TRUE CACHE BOOL "Build support for usb-devices") 
     14IF (UNIX) 
     15        SET(SUPPORT_USB FALSE CACHE BOOL "Build support for usb-devices") 
     16ELSE (UNIX) 
     17        SET(SUPPORT_USB TRUE CACHE BOOL "Build support for usb-devices") 
     18ENDIF(UNIX) 
    1719SET(USE_QT_SETTINGS_BACKEND FALSE CACHE BOOL "Use QT as settings backend instead of the native one") 
    1820 
    1921SET(BUILD_RFCMD         TRUE    CACHE BOOL "Build rfcmd") 
    20 SET(BUILD_RFCMD_WITH_LIBFTDI    TRUE    CACHE   BOOL "Enable support for using rfcmd with libftdi (does not need kernel-driver)") 
     22SET(BUILD_RFCMD_WITH_LIBFTDI    FALSE   CACHE   BOOL "Enable support for using rfcmd with libftdi (does not need kernel-driver)") 
    2123SET(BUILD_TDTOOL        TRUE    CACHE BOOL "Build tdtool") 
    2224 
Note: See TracChangeset for help on using the changeset viewer.