Disable rfcmd as default on all other platforms than unix

This commit is contained in:
Micke Prag 2010-06-14 14:39:37 +00:00
parent 1c198d4fc9
commit f7ea9e9dbd

View file

@ -32,11 +32,11 @@ ELSE (UNIX AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
ENDIF(UNIX AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
SET(USE_QT_SETTINGS_BACKEND FALSE CACHE BOOL "Use QT as settings backend instead of the native one")
IF (APPLE)
IF (UNIX AND NOT APPLE)
SET(BUILD_RFCMD FALSE CACHE BOOL "Build rfcmd")
ELSE (APPLE)
ELSE (UNIX AND NOT APPLE)
SET(BUILD_RFCMD TRUE CACHE BOOL "Build rfcmd")
ENDIF (APPLE)
ENDIF (UNIX AND NOT APPLE)
IF (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
SET(BUILD_RFCMD_WITH_LIBFTDI TRUE CACHE BOOL "Enable support for using rfcmd with libftdi (does not need kernel-driver)")
SET(BUILD_RFCMD_WITH_SEMAPHORES FALSE CACHE BOOL "Enable support for using rfcmd with semaphores (Requires special kernel-config)")