Skip to content

Commit

Permalink
Fix Linux APIv4 headers detection
Browse files Browse the repository at this point in the history
  • Loading branch information
DJATOM committed Sep 2, 2024
1 parent 59a27bc commit a5c8f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/cmake/FindVapoursynth.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(WIN32)
else()
find_path(VPY_INCLUDE_PREFIX NAMES vapoursynth PATHS usr PATH_SUFFIXES include)
if(VPY_INCLUDE_PREFIX)
check_include_file("VapourSynth4.h" HAVE_API4_INSTALLATION)
check_include_file("vapoursynth/VapourSynth4.h" HAVE_API4_INSTALLATION)
if (HAVE_API4_INSTALLATION)
set(VPY_INCLUDE_DIR "${VPY_INCLUDE_PREFIX}" CACHE PATH "${PACKAGE_CONFIG_TEXT}")
endif()
Expand Down

0 comments on commit a5c8f23

Please sign in to comment.