-
Notifications
You must be signed in to change notification settings - Fork 149
Make NEON an option #566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Make NEON an option #566
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ option(TCAM_BUILD_TOOLS "Build additional utilities" ON) | |
option(TCAM_BUILD_DOCUMENTATION "Build internal code documentation" ON) | ||
option(TCAM_BUILD_TESTS "Build tests." OFF) | ||
option(TCAM_BUILD_VIRTCAM "Build virtual camera backend" ON) | ||
option(TCAM_BUILD_USE_ARM_NEON "Use ARM neon extention" ON) | ||
|
||
option(TCAM_INTERNAL_ARAVIS "Use internal aravis dependency instead of system libraries" ON) | ||
option(TCAM_ARAVIS_USB_VISION "Use aravis usb vision backend. Disables v4l2." ON) | ||
|
@@ -136,3 +137,9 @@ if (TCAM_BUILD_GIGETOOL_ONLY) | |
set(TCAM_ENABLED_MODULES "tcam-gigetool") | ||
|
||
endif (TCAM_BUILD_GIGETOOL_ONLY) | ||
|
||
if (TCAM_BUILD_USE_ARM_NEON) | ||
set(DUTILS_USE_NEON ON) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this variable for? |
||
else () | ||
set(DUTILS_USE_NEON OFF) | ||
endif (TCAM_BUILD_USE_ARM_NEON) |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can also write:
Put it after the initial link_libraries and your down. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extension