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
c56e91dc
Commit
c56e91dc
authored
Feb 04, 2020
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16487 from asmorkalov:as/gapi_freetype
parents
20fb9281
a9a33d9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
CMakeLists.txt
modules/gapi/CMakeLists.txt
+12
-8
No files found.
modules/gapi/CMakeLists.txt
View file @
c56e91dc
...
...
@@ -148,17 +148,21 @@ if(TARGET opencv_test_gapi)
endif
()
if
(
HAVE_FREETYPE
)
ocv_target_compile_definitions
(
opencv_gapi PRIVATE -DHAVE_FREETYPE
)
ocv_target_compile_definitions
(
opencv_test_gapi PRIVATE -DHAVE_FREETYPE
)
ocv_target_link_libraries
(
opencv_gapi PRIVATE
${
FREETYPE_LIBRARIES
}
)
ocv_target_include_directories
(
opencv_gapi PRIVATE
${
FREETYPE_INCLUDE_DIRS
}
)
ocv_target_compile_definitions
(
${
the_module
}
PRIVATE -DHAVE_FREETYPE
)
if
(
TARGET opencv_test_gapi
)
ocv_target_compile_definitions
(
opencv_test_gapi PRIVATE -DHAVE_FREETYPE
)
endif
()
ocv_target_link_libraries
(
${
the_module
}
PRIVATE
${
FREETYPE_LIBRARIES
}
)
ocv_target_include_directories
(
${
the_module
}
PRIVATE
${
FREETYPE_INCLUDE_DIRS
}
)
endif
()
if
(
HAVE_PLAIDML
)
ocv_target_compile_definitions
(
opencv_gapi PRIVATE -DHAVE_PLAIDML
)
ocv_target_compile_definitions
(
opencv_test_gapi PRIVATE -DHAVE_PLAIDML
)
ocv_target_link_libraries
(
opencv_gapi PRIVATE
${
PLAIDML_LIBRARIES
}
)
ocv_target_include_directories
(
opencv_gapi SYSTEM PRIVATE
${
PLAIDML_INCLUDE_DIRS
}
)
ocv_target_compile_definitions
(
${
the_module
}
PRIVATE -DHAVE_PLAIDML
)
if
(
TARGET opencv_test_gapi
)
ocv_target_compile_definitions
(
opencv_test_gapi PRIVATE -DHAVE_PLAIDML
)
endif
()
ocv_target_link_libraries
(
${
the_module
}
PRIVATE
${
PLAIDML_LIBRARIES
}
)
ocv_target_include_directories
(
${
the_module
}
SYSTEM PRIVATE
${
PLAIDML_INCLUDE_DIRS
}
)
endif
()
ocv_add_perf_tests
()
...
...
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