mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #20546 from sivanov-work:initial_vpl_source
G-API: oneVPL (simplification) source base commit * oneVPL source initial * Fix compilation * Fix compilation path * Fix NO VPL compile * Fix unused vars * Fix unused vars in example * Simplify oneVPL search: no custom path & download * Fix standalone GAPI * Apply comments
This commit is contained in:
@@ -32,3 +32,10 @@ if(WITH_PLAIDML)
|
||||
set(HAVE_PLAIDML TRUE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_GAPI_ONEVPL)
|
||||
find_package(VPL)
|
||||
if(VPL_FOUND)
|
||||
set(HAVE_GAPI_ONEVPL TRUE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -6,6 +6,13 @@ if (NOT TARGET ade )
|
||||
find_package(ade 0.1.0 REQUIRED)
|
||||
endif()
|
||||
|
||||
if (WITH_GAPI_ONEVPL)
|
||||
find_package(VPL)
|
||||
if(VPL_FOUND)
|
||||
set(HAVE_GAPI_ONEVPL TRUE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(FLUID_TARGET fluid)
|
||||
set(FLUID_ROOT "${CMAKE_CURRENT_LIST_DIR}/../")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user