mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
fix syntax error
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user