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
6bf6d1dc
Commit
6bf6d1dc
authored
Aug 22, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15373 from pmur:libpng-vsx-fix
parents
56e832ee
8aca1934
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
3rdparty/libpng/CMakeLists.txt
+3
-1
No files found.
3rdparty/libpng/CMakeLists.txt
View file @
6bf6d1dc
...
...
@@ -47,7 +47,9 @@ if(";${CPU_BASELINE_FINAL};" MATCHES "SSE2"
endif
()
if
(
PPC64LE OR PPC64
)
if
(
ENABLE_VSX AND NOT PPC64
)
# VSX3 features are backwards compatible
if
(
";
${
CPU_BASELINE_FINAL
}
;"
MATCHES
"VSX.*"
AND NOT PPC64
)
list
(
APPEND lib_srcs powerpc/powerpc_init.c powerpc/filter_vsx_intrinsics.c
)
add_definitions
(
-DPNG_POWERPC_VSX_OPT=2
)
else
()
...
...
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