Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
bee4c347
Commit
bee4c347
authored
Jul 12, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with ARM_TARGET caching
parent
6623fe3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
android.toolchain.cmake
android/android.toolchain.cmake
+6
-4
No files found.
android/android.toolchain.cmake
View file @
bee4c347
...
...
@@ -221,13 +221,15 @@ set( CMAKE_RANLIB ${ANDROID_NDK_TOOLCHAIN_ROOT}/bin/arm-linux-androideabi-
#setup build targets, mutually exclusive
set
(
PossibleArmTargets
"armeabi;armeabi-v7a;armeabi-v7a with NEON;armeabi-v7a with VFPV3"
)
set
(
ARM_TARGET
"armeabi-v7a"
CACHE INTERNAL
"the arm target for android, recommend armeabi-v7a for floating point support and NEON."
)
set_property
(
CACHE ARM_TARGET PROPERTY STRINGS
${
PossibleArmTargets
}
)
#compatibility junk for previous version of toolchain
if
(
DEFINED ARM_TARGETS AND NOT DEFINED ARM_TARGET
)
SET
(
ARM_TARGET
"
${
ARM_TARGETS
}
"
)
set
(
ARM_TARGET
"
${
ARM_TARGETS
}
"
)
endif
()
IF
(
NOT ARM_TARGET
)
set
(
ARM_TARGET armeabi-v7a
)
ENDIF
()
set
(
ARM_TARGET
"
${
ARM_TARGET
}
"
CACHE INTERNAL
"the arm target for android, recommend armeabi-v7a for floating point support and NEON."
)
set_property
(
CACHE ARM_TARGET PROPERTY STRINGS
${
PossibleArmTargets
}
)
#set these flags for client use
if
(
ARM_TARGET STREQUAL
"armeabi"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment