cleaned up cmake and readme
authorKevron Rees <kevron_m_rees@linux.intel.com>
Mon, 4 Mar 2013 21:58:24 +0000 (13:58 -0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Mon, 4 Mar 2013 21:58:24 +0000 (13:58 -0800)
CMakeLists.txt
plugins/opencvlux/README

index b3d1597..9123046 100644 (file)
@@ -77,12 +77,6 @@ if(use_qtcore)
 
        find_package( Qt4 REQUIRED )
 
-       if(opencvlux_plugin)
-               message(STATUS "Not setting DONT_USE_QTGUI flag")
-       else(opencvlux_plugin)
-               set( QT_DONT_USE_QTGUI TRUE )
-       endif(opencvlux_plugin)
-
        include(${QT_USE_FILE})
        set(include_dirs ${include_dirs} ${QT_INCLUDE_DIRS})
        set(link_libraries ${link_libraries} ${QT_LIBRARIES})
index b16db9d..e118bd7 100644 (file)
@@ -4,6 +4,10 @@ This plugin simulates the ExteriorBrigtness property using a traditional webcame
 by taking the mean pixel intensity of the web camera image and estimating lux.  The particular
 can be calibrated using the "pixelUpperBound" and "pixelLowerBound" variables.
 
+To enable the OpenCV "lux" plugin, run cmake and enable the opencvlux_plugin option:
+
+cmake -Dopencvlux_plugin=On ..
+
 Currently, this plugin has been tested with OpenCV 2.4.4.
 
 To use the OpenCV plugin, add the following to the "sources" array in /etc/ambd/config: