build: only build plugins if dependencies are available

This commit is contained in:
Joshua M. Doe
2011-09-14 17:35:55 -04:00
parent f3084e002e
commit 35b06f1217
3 changed files with 19 additions and 5 deletions

View File

@@ -1,2 +1,4 @@
add_subdirectory (sensorfx)
if (OPENCV_FOUND)
add_subdirectory (sensorfx)
endif (OPENCV_FOUND)
add_subdirectory (videoadjust)