From c9238a4433f4860362579cf61fd13dc78962e593 Mon Sep 17 00:00:00 2001 From: pepa65 Date: Mon, 17 Jan 2022 08:49:46 +0700 Subject: [PATCH] Adapt build instructions on Ubuntu for CMake --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3b302b..1d4f4ab 100644 --- a/README.md +++ b/README.md @@ -148,8 +148,8 @@ Ubuntu users can install via `apt-get`: sudo apt-get install build-essential autoconf pkg-config nasm libtool git clone https://github.com/mozilla/mozjpeg.git cd mozjpeg -autoreconf -fiv -./configure --with-jpeg8 +mkdir build && cd build +cmake -G"Unix Makefiles" --with-jpeg8 .. make sudo make install ```