Skip to content

Commit eed584d

Browse files
committed
build: pin avisynth headers for arm64
1 parent 45d8a79 commit eed584d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ project(DelogoHD CXX)
88

99
option(DELOGOHD_BUILD_TEST_TOOLS "Build DelogoHD baseline test tools" ON)
1010
option(DELOGOHD_COPY_RELEASE "Copy the built plugin to the legacy Release_<version> directory" OFF)
11-
set(DELOGOHD_AVISYNTHPLUS_TAG "v3.7.5" CACHE STRING "AviSynthPlus tag used when pkg-config cannot find AviSynth headers")
11+
# Pin past v3.7.5 so fallback headers allow Visual Studio ARM64 builds.
12+
set(DELOGOHD_AVISYNTHPLUS_TAG "751ce2021cab1c8405d04825ac2f7e8ac93e8fa0" CACHE STRING "AviSynthPlus tag used when pkg-config cannot find AviSynth headers")
1213
set(DELOGOHD_VAPOURSYNTH_TAG "R72" CACHE STRING "VapourSynth tag used when pkg-config cannot find VapourSynth headers")
1314

1415
set(CMAKE_CXX_STANDARD 23)
@@ -48,7 +49,7 @@ function(delogohd_fetch_avisynth_headers out_var)
4849
avisynthplus_headers
4950
GIT_REPOSITORY https://github.com/AviSynth/AviSynthPlus.git
5051
GIT_TAG "${DELOGOHD_AVISYNTHPLUS_TAG}"
51-
GIT_SHALLOW TRUE
52+
# Full clone is required because the ARM64 header fix is pinned by commit.
5253
SOURCE_SUBDIR delogohd-no-cmake
5354
)
5455
FetchContent_MakeAvailable(avisynthplus_headers)

0 commit comments

Comments
 (0)