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
cd6d79d1
Commit
cd6d79d1
authored
Oct 28, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gapi: fix opencv_world build
parent
02f4d6ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
CMakeLists.txt
modules/gapi/CMakeLists.txt
+5
-6
No files found.
modules/gapi/CMakeLists.txt
View file @
cd6d79d1
...
...
@@ -19,6 +19,11 @@ set(the_description "OpenCV G-API Core Module")
ocv_add_module
(
gapi opencv_imgproc
)
if
(
MSVC
)
# Disable obsollete warning C4503 popping up on MSVC <<2017
# https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4503?view=vs-2019
ocv_warnings_disable
(
CMAKE_CXX_FLAGS /wd4503
)
endif
()
file
(
GLOB gapi_ext_hdrs
"
${
CMAKE_CURRENT_LIST_DIR
}
/include/opencv2/*.hpp"
...
...
@@ -132,11 +137,5 @@ if(TARGET opencv_test_gapi)
target_link_libraries
(
opencv_test_gapi PRIVATE ade
)
endif
()
if
(
MSVC
)
# Disable obsollete warning C4503 popping up on MSVC <<2017
# https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4503?view=vs-2019
set_target_properties
(
${
the_module
}
PROPERTIES COMPILE_FLAGS
"/wd4503"
)
endif
()
ocv_add_perf_tests
()
ocv_add_samples
()
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