disable v4l2 on osx (#69)

remove unused zeroconf defines
This commit is contained in:
redPanther 2016-06-28 21:53:19 +02:00 committed by brindosch
parent 25f8e47bb6
commit 917dc26fd5
2 changed files with 4 additions and 8 deletions

View File

@ -21,11 +21,12 @@ SET ( DEFAULT_X11 OFF )
SET ( DEFAULT_SPIDEV OFF ) SET ( DEFAULT_SPIDEV OFF )
SET ( DEFAULT_WS2812BPWM OFF ) SET ( DEFAULT_WS2812BPWM OFF )
SET ( DEFAULT_WS281XPWM OFF ) SET ( DEFAULT_WS281XPWM OFF )
SET ( DEFAULT_ZEROCONF ON ) SET ( DEFAULT_V4l2 ON )
SET ( DEFAULT_USE_SHARED_AVAHI_LIBS OFF ) SET ( DEFAULT_USE_SHARED_AVAHI_LIBS OFF )
if (APPLE) if (APPLE)
SET ( DEFAULT_OSX ON ) SET ( DEFAULT_OSX ON )
SET ( DEFAULT_V4l2 OFF )
else () else ()
if ( "${PLATFORM}" STREQUAL "rpi" ) if ( "${PLATFORM}" STREQUAL "rpi" )
SET ( DEFAULT_DISPMANX ON ) SET ( DEFAULT_DISPMANX ON )
@ -48,8 +49,6 @@ else ()
endif () endif ()
# set the build options # set the build options
SET(ENABLE_ZEROCONF ON )
option(ENABLE_AMLOGIC "Enable the AMLOGIC video grabber" ${DEFAULT_AMLOGIC} ) option(ENABLE_AMLOGIC "Enable the AMLOGIC video grabber" ${DEFAULT_AMLOGIC} )
message(STATUS "ENABLE_AMLOGIC = " ${ENABLE_AMLOGIC}) message(STATUS "ENABLE_AMLOGIC = " ${ENABLE_AMLOGIC})
@ -68,7 +67,7 @@ message(STATUS "ENABLE_SPIDEV = " ${ENABLE_SPIDEV})
option(ENABLE_TINKERFORGE "Enable the TINKERFORGE device" ON) option(ENABLE_TINKERFORGE "Enable the TINKERFORGE device" ON)
message(STATUS "ENABLE_TINKERFORGE = " ${ENABLE_TINKERFORGE}) message(STATUS "ENABLE_TINKERFORGE = " ${ENABLE_TINKERFORGE})
option(ENABLE_V4L2 "Enable the V4L2 grabber" ON) option(ENABLE_V4L2 "Enable the V4L2 grabber" ${DEFAULT_V4L2})
message(STATUS "ENABLE_V4L2 = " ${ENABLE_V4L2}) message(STATUS "ENABLE_V4L2 = " ${ENABLE_V4L2})
option(ENABLE_WS2812BPWM "Enable the WS2812b-PWM device" ${DEFAULT_WS2812BPWM} ) option(ENABLE_WS2812BPWM "Enable the WS2812b-PWM device" ${DEFAULT_WS2812BPWM} )

View File

@ -27,9 +27,6 @@
// Define to enable the osx grabber // Define to enable the osx grabber
#cmakedefine ENABLE_OSX #cmakedefine ENABLE_OSX
// Define to enable the bonjour/zeroconf publishing
#cmakedefine ENABLE_ZEROCONF
// Define to enable profiler for development purpose // Define to enable profiler for development purpose
#cmakedefine ENABLE_PROFILER #cmakedefine ENABLE_PROFILER