Skip to content

Commit f32ec6e

Browse files
Bump lukka/get-cmake from 3.30.1 to 4.0.1 (#193)
* Bump lukka/get-cmake from 3.30.1 to 4.0.1 Bumps [lukka/get-cmake](https://github.com/lukka/get-cmake) from 3.30.1 to 4.0.1. - [Release notes](https://github.com/lukka/get-cmake/releases) - [Commits](lukka/get-cmake@v3.30.1...v4.0.1) --- updated-dependencies: - dependency-name: lukka/get-cmake dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update mozjpeg version * Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 when building mozjpeg --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Timo Kokkonen <tjko@iki.fi>
1 parent bdb3f21 commit f32ec6e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
config-file: ./.github/codeql/codeql-config.yml
3737

3838
# Install CMake
39-
- uses: lukka/get-cmake@v3.30.1
39+
- uses: lukka/get-cmake@v4.0.1
4040
# Install NASM
4141
- uses: ilammy/setup-nasm@v1
4242

.github/workflows/compile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
persist-credentials: false
3030

3131
# Install CMake
32-
- uses: lukka/get-cmake@v3.30.1
32+
- uses: lukka/get-cmake@v4.0.1
3333
# Install NASM
3434
- uses: ilammy/setup-nasm@v1
3535
# Launch the MSVC Tools Command Prompt (Windows)

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.16.0 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.16)
22

33
project(jpegoptim C)
44

@@ -338,9 +338,9 @@ if(USE_MOZJPEG)
338338

339339
ExternalProject_Add(mozjpeg_lib
340340
GIT_REPOSITORY https://github.com/mozilla/mozjpeg.git
341-
GIT_TAG fd569212597dcc249752bd38ea58a4e2072da24f
341+
GIT_TAG v4.1.1
342342
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/mozjpeg
343-
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/mozjpeg -DPNG_SUPPORTED=0 -DWITH_TURBOJPEG=0 -DENABLE_SHARED=0 ${ARITH_FLAGS} ${MOZJPEG_EXTENDED_CMAKE_FLAGS}
343+
CMAKE_ARGS -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/mozjpeg -DPNG_SUPPORTED=0 -DWITH_TURBOJPEG=0 -DENABLE_SHARED=0 ${ARITH_FLAGS} ${MOZJPEG_EXTENDED_CMAKE_FLAGS}
344344
)
345345

346346

0 commit comments

Comments
 (0)