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
6dd5e774
Commit
6dd5e774
authored
Dec 09, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5773 from GregoryMorse:master
parents
d6f8a75e
bcf78dae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CMakeLists.txt
modules/core/CMakeLists.txt
+4
-0
CMakeLists.txt
modules/videoio/CMakeLists.txt
+2
-2
No files found.
modules/core/CMakeLists.txt
View file @
6dd5e774
...
...
@@ -11,6 +11,10 @@ if(WINRT AND CMAKE_SYSTEM_NAME MATCHES WindowsStore AND CMAKE_SYSTEM_VERSION MAT
list
(
APPEND extra_libs ole32.lib
)
endif
()
if
(
DEFINED WINRT AND NOT DEFINED ENABLE_WINRT_MODE_NATIVE
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/ZW"
)
endif
()
if
(
HAVE_CUDA
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wundef -Wenum-compare -Wunused-function -Wshadow
)
endif
()
...
...
modules/videoio/CMakeLists.txt
View file @
6dd5e774
...
...
@@ -7,7 +7,7 @@ ocv_add_module(videoio opencv_imgproc opencv_imgcodecs WRAP java python)
# Jose Luis Blanco, 2008
# ----------------------------------------------------------------------------
if
(
WINRT_8_1
)
if
(
DEFINED WINRT AND NOT DEFINED ENABLE_WINRT_MODE_NATIVE
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/ZW"
)
endif
()
...
...
@@ -38,7 +38,7 @@ list(REMOVE_ITEM videoio_ext_hdrs "${CMAKE_CURRENT_LIST_DIR}/include/opencv2/${n
# Dependencies used by the implementation referenced
# below are not available on WinRT 8.0.
# Enabling it for WiRT 8.1+ only.
if
(
DEFINED WINRT AND NOT DEFINED WINRT_8_0
)
if
(
DEFINED WINRT AND NOT DEFINED WINRT_8_0
AND NOT DEFINED ENABLE_WINRT_MODE_NATIVE
)
# WinRT detected. Adding WinRT API header
message
(
STATUS
"
${
name
}
: WinRT detected. Adding WinRT API header"
)
...
...
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