diff --git a/install.sh b/install.sh index eb49cf1..45f133f 100644 --- a/install.sh +++ b/install.sh @@ -81,9 +81,9 @@ rm "$TAR_FILE" CMAKE_FILE="$DIR_NAME/lib/open_jtalk/src/CMakeLists.txt" if [[ "$OS_TYPE" == "darwin"* ]]; then - sed -i '' -E 's/cmake_minimum_required\(VERSION[^\)]*\)/cmake_minimum_required(VERSION 2.8.12...3.31)/' "$CMAKE_FILE" + sed -i '' -E 's/cmake_minimum_required\(VERSION[^\)]*\)/cmake_minimum_required(VERSION 3.5...3.31)/' "$CMAKE_FILE" else - sed -i -E 's/cmake_minimum_required\(VERSION[^\)]*\)/cmake_minimum_required(VERSION 2.8.12...3.31)/' "$CMAKE_FILE" + sed -i -E 's/cmake_minimum_required\(VERSION[^\)]*\)/cmake_minimum_required(VERSION 3.5...3.31)/' "$CMAKE_FILE" fi tar -czf "$TAR_FILE" "$DIR_NAME"