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
2933b58a
Commit
2933b58a
authored
Oct 24, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12909 from alalek:cmake_fix_baseline_detect_flags
parents
1c1d653f
0f07edde
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
OpenCVCompilerOptimizations.cmake
cmake/OpenCVCompilerOptimizations.cmake
+2
-0
No files found.
cmake/OpenCVCompilerOptimizations.cmake
View file @
2933b58a
...
@@ -448,9 +448,11 @@ foreach(OPT ${CPU_KNOWN_OPTIMIZATIONS})
...
@@ -448,9 +448,11 @@ foreach(OPT ${CPU_KNOWN_OPTIMIZATIONS})
if
(
NOT
";
${
CPU_BASELINE_FINAL
}
;"
MATCHES
";
${
OPT
}
;"
)
if
(
NOT
";
${
CPU_BASELINE_FINAL
}
;"
MATCHES
";
${
OPT
}
;"
)
list
(
APPEND CPU_BASELINE_FINAL
${
OPT
}
)
list
(
APPEND CPU_BASELINE_FINAL
${
OPT
}
)
endif
()
endif
()
if
(
NOT CPU_BASELINE_DETECT
)
# Don't change compiler flags in 'detection' mode
ocv_append_optimization_flag
(
CPU_BASELINE_FLAGS
${
OPT
}
)
ocv_append_optimization_flag
(
CPU_BASELINE_FLAGS
${
OPT
}
)
endif
()
endif
()
endif
()
endif
()
endif
()
endforeach
()
endforeach
()
foreach
(
OPT
${
CPU_BASELINE_REQUIRE
}
)
foreach
(
OPT
${
CPU_BASELINE_REQUIRE
}
)
...
...
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