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
This commit is contained in:
parent
08ece38140
commit
9611873613
1 changed files with 10 additions and 8 deletions
|
@ -1,23 +1,25 @@
|
|||
PROJECT( telldus-core )
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED( VERSION 2.4.0 )
|
||||
CMAKE_MINIMUM_REQUIRED( VERSION 2.6.0 )
|
||||
|
||||
if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
endif(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
|
||||
SET(PACKAGE_VERSION 2)
|
||||
SET(PACKAGE_SOVERSION 2.0.0)
|
||||
SET(PACKAGE_VERSION 2.0.0)
|
||||
SET(PACKAGE_SOVERSION 2)
|
||||
|
||||
SET(DISPLAYED_VERSION 2.0.0_beta1)
|
||||
|
||||
SET(BUILD_LIBTELLDUS-CORE TRUE CACHE BOOL "Build libtelldus-core")
|
||||
SET(SUPPORT_TELLSTICK_DUO FALSE CACHE BOOL "Include support for TellStick Duo")
|
||||
SET(SUPPORT_USB TRUE CACHE BOOL "Build support for usb-devices")
|
||||
IF (UNIX)
|
||||
SET(SUPPORT_USB FALSE CACHE BOOL "Build support for usb-devices")
|
||||
ELSE (UNIX)
|
||||
SET(SUPPORT_USB TRUE CACHE BOOL "Build support for usb-devices")
|
||||
ENDIF(UNIX)
|
||||
SET(USE_QT_SETTINGS_BACKEND FALSE CACHE BOOL "Use QT as settings backend instead of the native one")
|
||||
|
||||
SET(BUILD_RFCMD TRUE CACHE BOOL "Build rfcmd")
|
||||
SET(BUILD_RFCMD_WITH_LIBFTDI TRUE CACHE BOOL "Enable support for using rfcmd with libftdi (does not need kernel-driver)")
|
||||
SET(BUILD_RFCMD_WITH_LIBFTDI FALSE CACHE BOOL "Enable support for using rfcmd with libftdi (does not need kernel-driver)")
|
||||
SET(BUILD_TDTOOL TRUE CACHE BOOL "Build tdtool")
|
||||
|
||||
ADD_SUBDIRECTORY(driver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue