Skip to content

Commit

Permalink
Fix tool dependencies on API
Browse files Browse the repository at this point in the history
  • Loading branch information
mav-intel committed Nov 29, 2023
1 parent a8b8a06 commit d8a5b68
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion tools/cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ endif()
add_subdirectory(system_analyzer)

add_executable(vpl-inspect vpl-inspect.cpp)
target_link_libraries(vpl-inspect VPL)
find_package(VPL REQUIRED)
target_link_libraries(vpl-inspect PUBLIC VPL::dispatcher)
target_include_directories(vpl-inspect PRIVATE ${ONEVPL_API_HEADER_DIRECTORY})

if(BUILD_TOOLS_ONEVPL_EXPERIMENTAL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef __MFX_MULTI_VPP_H
#define __MFX_MULTI_VPP_H

#include "mfxvideo++.h"
#include "vpl/mfxvideo++.h"
// An interface for a pipeline consisting of multiple (maximum 3) VPP-like components. Base implementation - for single VPP.
// The application should use this interface to be able to seamlessly switch from MFXVideoVPP to MFXVideoVPPPlugin in the pipeline.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
#include "brc_routines.h"
#include "hw_device.h"
#include "mfxdeprecated.h"
#include "mfxjpeg.h"
#include "mfxmvc.h"
#include "mfxplugin.h"
#include "mfxvp8.h"
#include "plugin_utils.h"
#include "preset_manager.h"
#include "sample_defs.h"
#include "smt_tracer.h"
#include "vpl/mfxdispatcher.h"
#include "vpl/mfxjpeg.h"
#include "vpl/mfxmvc.h"
#include "vpl/mfxvideo++.h"
#include "vpl/mfxvideo.h"
#include "vpl/mfxvp8.h"

#define TIME_STATS 1 // Enable statistics processing
#include "time_statistics.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "vpl/mfxdefs.h"
#if defined(_WIN32) || defined(_WIN64)
#include "mfxadapter.h"
#include "vpl/mfxadapter.h"
#endif

#include "pipeline_transcode.h"
Expand Down

0 comments on commit d8a5b68

Please sign in to comment.