We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34c3d2 commit d01420eCopy full SHA for d01420e
VapourSynth/CMakeLists.txt
@@ -3,7 +3,12 @@ if(Build_VapourSynth_Plugin)
3
4
aux_source_directory(src SOURCE)
5
6
+ find_package(PkgConfig REQUIRED)
7
+ pkg_check_modules(VAPOURSYNTH REQUIRED IMPORTED_TARGET vapoursynth)
8
+
9
add_library(${PROJECT_NAME} SHARED ${SOURCE})
10
+ target_link_libraries(${PROJECT_NAME} PRIVATE PkgConfig::VAPOURSYNTH)
11
+ target_include_directories(${PROJECT_NAME} PUBLIC ${VAPOURSYNTH_INCLUDE_DIRS})
12
13
if(Other_Optimization_For_Other)
14
if(MSVC)
0 commit comments