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
60ba6ef9
Commit
60ba6ef9
authored
5 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16163 from alalek:fix_16122
parents
3d60a9b9
424e1150
master
4.3.0
4.2.0
3.4.10
3.4.9
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
OpenCVDetectCXXCompiler.cmake
cmake/OpenCVDetectCXXCompiler.cmake
+4
-4
OpenCVConfig.root-WIN32.cmake.in
cmake/templates/OpenCVConfig.root-WIN32.cmake.in
+4
-4
No files found.
cmake/OpenCVDetectCXXCompiler.cmake
View file @
60ba6ef9
...
...
@@ -142,13 +142,13 @@ if(DEFINED OpenCV_ARCH AND DEFINED OpenCV_RUNTIME)
elseif
(
MSVC
)
# see Modules/CMakeGenericSystem.cmake
if
(
"
${
CMAKE_GENERATOR
}
"
MATCHES
"(Win64|IA64)"
)
set
(
arch_hint
"x64"
)
set
(
OpenCV_ARCH
"x64"
)
elseif
(
"
${
CMAKE_GENERATOR_PLATFORM
}
"
MATCHES
"ARM64"
)
set
(
arch_hint
"ARM64"
)
set
(
OpenCV_ARCH
"ARM64"
)
elseif
(
"
${
CMAKE_GENERATOR
}
"
MATCHES
"ARM"
)
set
(
arch_hint
"ARM"
)
set
(
OpenCV_ARCH
"ARM"
)
elseif
(
"
${
CMAKE_SIZEOF_VOID_P
}
"
STREQUAL
"8"
)
set
(
arch_hint
"x64"
)
set
(
OpenCV_ARCH
"x64"
)
else
()
set
(
OpenCV_ARCH x86
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
cmake/templates/OpenCVConfig.root-WIN32.cmake.in
View file @
60ba6ef9
...
...
@@ -98,13 +98,13 @@ if(DEFINED OpenCV_ARCH AND DEFINED OpenCV_RUNTIME)
elseif(MSVC)
# see Modules/CMakeGenericSystem.cmake
if("${CMAKE_GENERATOR}" MATCHES "(Win64|IA64)")
set(
arch_hint
"x64")
set(
OpenCV_ARCH
"x64")
elseif("${CMAKE_GENERATOR_PLATFORM}" MATCHES "ARM64")
set(
arch_hint
"ARM64")
set(
OpenCV_ARCH
"ARM64")
elseif("${CMAKE_GENERATOR}" MATCHES "ARM")
set(
arch_hint
"ARM")
set(
OpenCV_ARCH
"ARM")
elseif("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
set(
arch_hint
"x64")
set(
OpenCV_ARCH
"x64")
else()
set(OpenCV_ARCH x86)
endif()
...
...
This diff is collapsed.
Click to expand it.
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