You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ph...@apache.org on 2017/11/13 16:42:47 UTC
nifi-minifi-cpp git commit: MINIFICPP-302 Correct USB camera
createExtension
Repository: nifi-minifi-cpp
Updated Branches:
refs/heads/master f09ad619c -> f529a5ffb
MINIFICPP-302 Correct USB camera createExtension
This closes #184.
Signed-off-by: Marc Parisi <ph...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/f529a5ff
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/f529a5ff
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/f529a5ff
Branch: refs/heads/master
Commit: f529a5ffb4cfe34a8c7744911ffc4b3f48b0426b
Parents: f09ad61
Author: Caleb Johnson <me...@calebj.io>
Authored: Mon Nov 13 12:50:39 2017 +0000
Committer: Marc Parisi <ph...@apache.org>
Committed: Mon Nov 13 11:42:29 2017 -0500
----------------------------------------------------------------------
CMakeLists.txt | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/f529a5ff/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7054404..1eaa6ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -146,18 +146,14 @@ endif(ENABLE_GPS)
## Scripting extensions
option(DISABLE_SCRIPTING "Disables the scripting extensions." OFF)
if (NOT DISABLE_SCRIPTING)
-createExtension(SCRIPTING-EXTENSIONS "SCRIPTING EXTENSIONS" "This enables scripting" "extensions/script" "${TEST_DIR}/script-tests")
+ createExtension(SCRIPTING-EXTENSIONS "SCRIPTING EXTENSIONS" "This enables scripting" "extensions/script" "${TEST_DIR}/script-tests")
endif()
## USB camera extensions
-createExtension(DISABLE_USB_CAMERA
- USB-CAMERA-EXTENSIONS
- "USB CAMERA EXTENSIONS"
- "This enables USB camera support"
- "extensions/usb-camera"
- "${TEST_DIR}/usb-camera-tests"
- "TRUE"
- "thirdparty/libuvc-0.0.6")
+option(ENABLE_USB_CAMERA "Enables USB camera support." OFF)
+if (ENABLE_USB_CAMERA)
+ createExtension(USB-CAMERA-EXTENSIONS "USB CAMERA EXTENSIONS" "This enables USB camera support" "extensions/usb-camera" "${TEST_DIR}/usb-camera-tests" "TRUE" "thirdparty/libuvc-0.0.6")
+endif()
## NOW WE CAN ADD LIBRARIES AND EXTENSIONS TO MAIN