Skip to content

Commit

Permalink
fix: Fix broken links and disable libwebp building its CLI tool (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
siers authored Dec 29, 2024
1 parent e855b19 commit de9e393
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ext/bzip2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(timestamp_policy DOWNLOAD_EXTRACT_TIMESTAMP OLD)

ExternalProject_Add(project_bzip2
INSTALL_DIR ${CMAKE_BINARY_DIR}/local
URL https://sourceforge.net/projects/bzip2/files/latest/download
URL https://gitlab.com/bzip2/bzip2/-/archive/bzip2-1.0.8/bzip2-bzip2-1.0.8.tar.bz2
${timestamp_policy}
DOWNLOAD_DIR ${CMAKE_BINARY_DIR}/local/extsrcs/downloads
SOURCE_DIR ${CMAKE_BINARY_DIR}/local/extsrcs/bzip2
Expand Down
2 changes: 1 addition & 1 deletion ext/tiff/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include(ExternalProject)

set(timestamp_policy DOWNLOAD_EXTRACT_TIMESTAMP OLD)

set(LibTiffVersion "4.6.0")
set(LibTiffVersion "4.7.0")

ExternalProject_Add(project_tiff
DEPENDS project_jpeg
Expand Down
10 changes: 7 additions & 3 deletions ext/webp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz
project(libwebp_builder C CXX)
include(ExternalProject)

Expand All @@ -10,12 +9,17 @@ set(timestamp_policy DOWNLOAD_EXTRACT_TIMESTAMP OLD)
ExternalProject_Add(project_webp
DEPENDS project_xz
INSTALL_DIR ${CMAKE_BINARY_DIR}/local
URL https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz
URL https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.0.tar.gz
DOWNLOAD_DIR ${CMAKE_BINARY_DIR}/local/extsrcs/downloads
${timestamp_policy}
#DOWNLOAD_EXTRACT_TIMESTAMP NEW
SOURCE_DIR ${CMAKE_BINARY_DIR}/local/extsrcs/libwebp
CMAKE_ARGS -DBUILD_SHARED_LIBS=OFF -DWEBP_BUILD_ANIM_UTILS=OFF -DWEBP_BUILD_VWEBP=OFF -DCMAKE_PREFIX_PATH=${CMAKE_BINARY_DIR}/local -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/local
CMAKE_ARGS -DBUILD_SHARED_LIBS=OFF
-DWEBP_BUILD_ANIM_UTILS=OFF
-DWEBP_BUILD_VWEBP=OFF
-DCMAKE_PREFIX_PATH=${CMAKE_BINARY_DIR}/local
-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/local
-DWEBP_BUILD_CWEBP=OFF
)
ExternalProject_Get_Property(project_webp install_dir)

Expand Down

0 comments on commit de9e393

Please sign in to comment.