From ad5b8e4482649645e790b18717201393ae440851 Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Thu, 18 Dec 2025 09:02:48 -0600 Subject: [PATCH] fix syntax error --- lib/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/build.sh b/lib/build.sh index 774eaf7..e109afc 100644 --- a/lib/build.sh +++ b/lib/build.sh @@ -775,8 +775,8 @@ build_libx265() { IFS='.' read -r verMajor _ _ <<<"${cmakeVersion}" local policyFlag='' if [[ ! ${verMajor} -lt 4 ]]; then - remove_line "cmake_policy(SET CMP0025 OLD)" "source/CMakeLists.txt" || return 1 - remove_line "cmake_policy(SET CMP0054 OLD)" "source/CMakeLists.txt" || return 1 + remove_line "source/CMakeLists.txt" "cmake_policy(SET CMP0025 OLD)" || return 1 + remove_line "source/CMakeLists.txt" "cmake_policy(SET CMP0054 OLD)" || return 1 policyFlag="-DCMAKE_POLICY_VERSION_MINIMUM=3.5" fi