From c2e5bbbc5475c6adf1eee5ec877042caa2215585 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sat, 28 Oct 2023 22:02:58 +0200 Subject: [PATCH] =?UTF-8?q?cmake:=20fix=20warnings=20about=20`cmake=5Fmini?= =?UTF-8?q?mum=5Frequired(=E2=80=A6)`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. ``` --- thirdparty/curl/CMakeLists.txt | 2 +- thirdparty/czmq/CMakeLists.txt | 2 +- thirdparty/djvulibre/CMakeLists.txt | 2 +- thirdparty/dropbear/CMakeLists.txt | 2 +- thirdparty/fbink/CMakeLists.txt | 2 +- thirdparty/freetype2/CMakeLists.txt | 2 +- thirdparty/fribidi/CMakeLists.txt | 2 +- thirdparty/gettext/CMakeLists.txt | 2 +- thirdparty/giflib/CMakeLists.txt | 2 +- thirdparty/glib/CMakeLists.txt | 2 +- thirdparty/harfbuzz/CMakeLists.txt | 2 +- thirdparty/kobo-usbms/CMakeLists.txt | 2 +- thirdparty/kpvcrlib/CMakeLists.txt | 2 +- thirdparty/leptonica/CMakeLists.txt | 2 +- thirdparty/libffi/CMakeLists.txt | 2 +- thirdparty/libiconv/CMakeLists.txt | 2 +- thirdparty/libjpeg-turbo/CMakeLists.txt | 2 +- thirdparty/libk2pdfopt/CMakeLists.txt | 2 +- thirdparty/libpng/CMakeLists.txt | 2 +- thirdparty/libunibreak/CMakeLists.txt | 2 +- thirdparty/libwebp/CMakeLists.txt | 2 +- thirdparty/libzmq/CMakeLists.txt | 2 +- thirdparty/lj-wpaclient/CMakeLists.txt | 2 +- thirdparty/lodepng/CMakeLists.txt | 2 +- thirdparty/lpeg/CMakeLists.txt | 2 +- thirdparty/lua-Spore/CMakeLists.txt | 2 +- thirdparty/lua-htmlparser/CMakeLists.txt | 2 +- thirdparty/lua-rapidjson/CMakeLists.txt | 2 +- thirdparty/luajit/CMakeLists.txt | 2 +- thirdparty/luasec/CMakeLists.txt | 2 +- thirdparty/luasocket/CMakeLists.txt | 2 +- thirdparty/lunasvg/CMakeLists.txt | 2 +- thirdparty/minizip/CMakeLists.txt | 2 +- thirdparty/mupdf/CMakeLists.txt | 2 +- thirdparty/nanosvg/CMakeLists.txt | 2 +- thirdparty/openssh/CMakeLists.txt | 2 +- thirdparty/openssl/CMakeLists.txt | 2 +- thirdparty/popen-noshell/CMakeLists.txt | 2 +- thirdparty/sdcv/CMakeLists.txt | 2 +- thirdparty/sdl2/CMakeLists.txt | 2 +- thirdparty/sqlite/CMakeLists.txt | 2 +- thirdparty/tar/CMakeLists.txt | 2 +- thirdparty/tesseract/CMakeLists.txt | 2 +- thirdparty/turbo/CMakeLists.txt | 2 +- thirdparty/utf8proc/CMakeLists.txt | 2 +- thirdparty/zlib/CMakeLists.txt | 2 +- thirdparty/zstd/CMakeLists.txt | 2 +- thirdparty/zsync2/CMakeLists.txt | 2 +- 48 files changed, 48 insertions(+), 48 deletions(-) diff --git a/thirdparty/curl/CMakeLists.txt b/thirdparty/curl/CMakeLists.txt index c50dfbb3a..953047d09 100644 --- a/thirdparty/curl/CMakeLists.txt +++ b/thirdparty/curl/CMakeLists.txt @@ -1,5 +1,5 @@ -project(curl) cmake_minimum_required(VERSION 3.5.1) +project(curl) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/czmq/CMakeLists.txt b/thirdparty/czmq/CMakeLists.txt index cf2d9ee97..6232e570f 100644 --- a/thirdparty/czmq/CMakeLists.txt +++ b/thirdparty/czmq/CMakeLists.txt @@ -1,5 +1,5 @@ -project(czmq) cmake_minimum_required(VERSION 3.5.1) +project(czmq) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/djvulibre/CMakeLists.txt b/thirdparty/djvulibre/CMakeLists.txt index 557685d3d..f7aa29f44 100644 --- a/thirdparty/djvulibre/CMakeLists.txt +++ b/thirdparty/djvulibre/CMakeLists.txt @@ -1,5 +1,5 @@ -project(djvulibre) cmake_minimum_required(VERSION 3.5.1) +project(djvulibre) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/dropbear/CMakeLists.txt b/thirdparty/dropbear/CMakeLists.txt index 51fca147e..46b86d949 100644 --- a/thirdparty/dropbear/CMakeLists.txt +++ b/thirdparty/dropbear/CMakeLists.txt @@ -1,5 +1,5 @@ -project(dropbear) cmake_minimum_required(VERSION 3.5.1) +project(dropbear) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/fbink/CMakeLists.txt b/thirdparty/fbink/CMakeLists.txt index 707ac5419..fb1977307 100644 --- a/thirdparty/fbink/CMakeLists.txt +++ b/thirdparty/fbink/CMakeLists.txt @@ -1,5 +1,5 @@ -project(fbink) cmake_minimum_required(VERSION 3.5.1) +project(fbink) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/freetype2/CMakeLists.txt b/thirdparty/freetype2/CMakeLists.txt index 53586f101..bc2aa4317 100644 --- a/thirdparty/freetype2/CMakeLists.txt +++ b/thirdparty/freetype2/CMakeLists.txt @@ -1,5 +1,5 @@ -project(freetype2) cmake_minimum_required(VERSION 3.5.1) +project(freetype2) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/fribidi/CMakeLists.txt b/thirdparty/fribidi/CMakeLists.txt index bb1d0f82b..23914c4e8 100644 --- a/thirdparty/fribidi/CMakeLists.txt +++ b/thirdparty/fribidi/CMakeLists.txt @@ -1,5 +1,5 @@ -project(fribidi) cmake_minimum_required(VERSION 3.5.1) +project(fribidi) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/gettext/CMakeLists.txt b/thirdparty/gettext/CMakeLists.txt index 0ba8c6358..1de6d7d94 100644 --- a/thirdparty/gettext/CMakeLists.txt +++ b/thirdparty/gettext/CMakeLists.txt @@ -1,5 +1,5 @@ -project(gettext) cmake_minimum_required(VERSION 3.5.1) +project(gettext) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/giflib/CMakeLists.txt b/thirdparty/giflib/CMakeLists.txt index 4616e31ac..8c9850409 100644 --- a/thirdparty/giflib/CMakeLists.txt +++ b/thirdparty/giflib/CMakeLists.txt @@ -1,5 +1,5 @@ -project(giflib) cmake_minimum_required(VERSION 3.5.1) +project(giflib) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/glib/CMakeLists.txt b/thirdparty/glib/CMakeLists.txt index 04794f5d5..65ca1dbcc 100644 --- a/thirdparty/glib/CMakeLists.txt +++ b/thirdparty/glib/CMakeLists.txt @@ -1,5 +1,5 @@ -project(glib) cmake_minimum_required(VERSION 3.5.1) +project(glib) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/harfbuzz/CMakeLists.txt b/thirdparty/harfbuzz/CMakeLists.txt index e3a9d64ac..bc607746e 100644 --- a/thirdparty/harfbuzz/CMakeLists.txt +++ b/thirdparty/harfbuzz/CMakeLists.txt @@ -1,5 +1,5 @@ -project(harfbuzz) cmake_minimum_required(VERSION 3.5.1) +project(harfbuzz) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/kobo-usbms/CMakeLists.txt b/thirdparty/kobo-usbms/CMakeLists.txt index c32944fcf..dae7f1108 100644 --- a/thirdparty/kobo-usbms/CMakeLists.txt +++ b/thirdparty/kobo-usbms/CMakeLists.txt @@ -1,5 +1,5 @@ -project(kobo-usbms) cmake_minimum_required(VERSION 3.5.1) +project(kobo-usbms) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/kpvcrlib/CMakeLists.txt b/thirdparty/kpvcrlib/CMakeLists.txt index 66484e720..13acaad72 100644 --- a/thirdparty/kpvcrlib/CMakeLists.txt +++ b/thirdparty/kpvcrlib/CMakeLists.txt @@ -1,5 +1,5 @@ -project(kpvcrlib) cmake_minimum_required(VERSION 3.5.1) +project(kpvcrlib) enable_language(C CXX ASM) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") diff --git a/thirdparty/leptonica/CMakeLists.txt b/thirdparty/leptonica/CMakeLists.txt index b3090a3c5..762cfdaec 100644 --- a/thirdparty/leptonica/CMakeLists.txt +++ b/thirdparty/leptonica/CMakeLists.txt @@ -1,5 +1,5 @@ -project(leptonica) cmake_minimum_required(VERSION 3.5.1) +project(leptonica) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libffi/CMakeLists.txt b/thirdparty/libffi/CMakeLists.txt index 972c991b5..3389bffca 100644 --- a/thirdparty/libffi/CMakeLists.txt +++ b/thirdparty/libffi/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libffi) cmake_minimum_required(VERSION 3.5.1) +project(libffi) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libiconv/CMakeLists.txt b/thirdparty/libiconv/CMakeLists.txt index 6a45ddc71..70310ec17 100644 --- a/thirdparty/libiconv/CMakeLists.txt +++ b/thirdparty/libiconv/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libiconv) cmake_minimum_required(VERSION 3.5.1) +project(libiconv) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libjpeg-turbo/CMakeLists.txt b/thirdparty/libjpeg-turbo/CMakeLists.txt index 7fe652fa3..b8ff5bcbf 100644 --- a/thirdparty/libjpeg-turbo/CMakeLists.txt +++ b/thirdparty/libjpeg-turbo/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libjpeg-turbo) cmake_minimum_required(VERSION 3.5.1) +project(libjpeg-turbo) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libk2pdfopt/CMakeLists.txt b/thirdparty/libk2pdfopt/CMakeLists.txt index 06941e0a3..f11b54837 100644 --- a/thirdparty/libk2pdfopt/CMakeLists.txt +++ b/thirdparty/libk2pdfopt/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libk2pdfopt) cmake_minimum_required(VERSION 3.5.1) +project(libk2pdfopt) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libpng/CMakeLists.txt b/thirdparty/libpng/CMakeLists.txt index 167c18aaf..e1e0ab5cb 100644 --- a/thirdparty/libpng/CMakeLists.txt +++ b/thirdparty/libpng/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libpng) cmake_minimum_required(VERSION 3.5.1) +project(libpng) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libunibreak/CMakeLists.txt b/thirdparty/libunibreak/CMakeLists.txt index 244d71f6f..36b54c68e 100644 --- a/thirdparty/libunibreak/CMakeLists.txt +++ b/thirdparty/libunibreak/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libunibreak) cmake_minimum_required(VERSION 3.5.1) +project(libunibreak) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libwebp/CMakeLists.txt b/thirdparty/libwebp/CMakeLists.txt index 0ef0a065c..0fc99db55 100644 --- a/thirdparty/libwebp/CMakeLists.txt +++ b/thirdparty/libwebp/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libwebp) cmake_minimum_required(VERSION 3.5.1) +project(libwebp) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/libzmq/CMakeLists.txt b/thirdparty/libzmq/CMakeLists.txt index fad2ff64a..99827f2d8 100644 --- a/thirdparty/libzmq/CMakeLists.txt +++ b/thirdparty/libzmq/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libzmq) cmake_minimum_required(VERSION 3.5.1) +project(libzmq) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/lj-wpaclient/CMakeLists.txt b/thirdparty/lj-wpaclient/CMakeLists.txt index adf37d75e..7225f475d 100644 --- a/thirdparty/lj-wpaclient/CMakeLists.txt +++ b/thirdparty/lj-wpaclient/CMakeLists.txt @@ -1,5 +1,5 @@ -project(lj-wpaclient) cmake_minimum_required(VERSION 3.5.1) +project(lj-wpaclient) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/lodepng/CMakeLists.txt b/thirdparty/lodepng/CMakeLists.txt index 16e7b569c..a23fe7539 100644 --- a/thirdparty/lodepng/CMakeLists.txt +++ b/thirdparty/lodepng/CMakeLists.txt @@ -1,5 +1,5 @@ -project(lodepng) cmake_minimum_required(VERSION 3.5.1) +project(lodepng) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/lpeg/CMakeLists.txt b/thirdparty/lpeg/CMakeLists.txt index b7345e619..cdf19aa08 100644 --- a/thirdparty/lpeg/CMakeLists.txt +++ b/thirdparty/lpeg/CMakeLists.txt @@ -1,5 +1,5 @@ -project(lpeg) cmake_minimum_required(VERSION 3.5.1) +project(lpeg) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/lua-Spore/CMakeLists.txt b/thirdparty/lua-Spore/CMakeLists.txt index 155931939..2ffd30217 100644 --- a/thirdparty/lua-Spore/CMakeLists.txt +++ b/thirdparty/lua-Spore/CMakeLists.txt @@ -1,5 +1,5 @@ -project(lua-Spore) cmake_minimum_required(VERSION 3.5.1) +project(lua-Spore) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/lua-htmlparser/CMakeLists.txt b/thirdparty/lua-htmlparser/CMakeLists.txt index cbd206fe4..ef154067b 100644 --- a/thirdparty/lua-htmlparser/CMakeLists.txt +++ b/thirdparty/lua-htmlparser/CMakeLists.txt @@ -1,5 +1,5 @@ -project(lua-htmlparser) cmake_minimum_required(VERSION 3.5.1) +project(lua-htmlparser) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/lua-rapidjson/CMakeLists.txt b/thirdparty/lua-rapidjson/CMakeLists.txt index 583b40d65..47fdf854e 100644 --- a/thirdparty/lua-rapidjson/CMakeLists.txt +++ b/thirdparty/lua-rapidjson/CMakeLists.txt @@ -1,5 +1,5 @@ -project(lua-rapidjson) cmake_minimum_required(VERSION 3.5.1) +project(lua-rapidjson) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/luajit/CMakeLists.txt b/thirdparty/luajit/CMakeLists.txt index 342814058..e106ffb42 100644 --- a/thirdparty/luajit/CMakeLists.txt +++ b/thirdparty/luajit/CMakeLists.txt @@ -1,5 +1,5 @@ -project(luajit) cmake_minimum_required(VERSION 3.5.1) +project(luajit) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/luasec/CMakeLists.txt b/thirdparty/luasec/CMakeLists.txt index 6069cbff2..1426d9ec1 100644 --- a/thirdparty/luasec/CMakeLists.txt +++ b/thirdparty/luasec/CMakeLists.txt @@ -1,5 +1,5 @@ -project(luasec) cmake_minimum_required(VERSION 3.5.1) +project(luasec) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/luasocket/CMakeLists.txt b/thirdparty/luasocket/CMakeLists.txt index be444d27a..8d816cedd 100644 --- a/thirdparty/luasocket/CMakeLists.txt +++ b/thirdparty/luasocket/CMakeLists.txt @@ -1,5 +1,5 @@ -project(luasocket) cmake_minimum_required(VERSION 3.5.1) +project(luasocket) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/lunasvg/CMakeLists.txt b/thirdparty/lunasvg/CMakeLists.txt index 361cd54da..3a516b3cf 100644 --- a/thirdparty/lunasvg/CMakeLists.txt +++ b/thirdparty/lunasvg/CMakeLists.txt @@ -1,5 +1,5 @@ -project(lunasvg) cmake_minimum_required(VERSION 3.5.1) +project(lunasvg) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/minizip/CMakeLists.txt b/thirdparty/minizip/CMakeLists.txt index e8bf72ada..bae6e0ad0 100644 --- a/thirdparty/minizip/CMakeLists.txt +++ b/thirdparty/minizip/CMakeLists.txt @@ -1,5 +1,5 @@ -project(minizip) cmake_minimum_required(VERSION 3.5.1) +project(minizip) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/mupdf/CMakeLists.txt b/thirdparty/mupdf/CMakeLists.txt index f876f0323..7cf8ec9da 100644 --- a/thirdparty/mupdf/CMakeLists.txt +++ b/thirdparty/mupdf/CMakeLists.txt @@ -1,5 +1,5 @@ -project(mupdf) cmake_minimum_required(VERSION 3.5.1) +project(mupdf) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/nanosvg/CMakeLists.txt b/thirdparty/nanosvg/CMakeLists.txt index a0d5607be..242b6d687 100644 --- a/thirdparty/nanosvg/CMakeLists.txt +++ b/thirdparty/nanosvg/CMakeLists.txt @@ -1,5 +1,5 @@ -project(nanosvg) cmake_minimum_required(VERSION 3.5.1) +project(nanosvg) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/openssh/CMakeLists.txt b/thirdparty/openssh/CMakeLists.txt index afddade46..7e658564e 100644 --- a/thirdparty/openssh/CMakeLists.txt +++ b/thirdparty/openssh/CMakeLists.txt @@ -1,5 +1,5 @@ -project(openssh) cmake_minimum_required(VERSION 3.5.1) +project(openssh) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/openssl/CMakeLists.txt b/thirdparty/openssl/CMakeLists.txt index d5225d37e..3fde81517 100644 --- a/thirdparty/openssl/CMakeLists.txt +++ b/thirdparty/openssl/CMakeLists.txt @@ -1,5 +1,5 @@ -project(openssl) cmake_minimum_required(VERSION 3.5.1) +project(openssl) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/popen-noshell/CMakeLists.txt b/thirdparty/popen-noshell/CMakeLists.txt index 0f38f5f09..260d6ff84 100644 --- a/thirdparty/popen-noshell/CMakeLists.txt +++ b/thirdparty/popen-noshell/CMakeLists.txt @@ -1,5 +1,5 @@ -project(popen-noshell) cmake_minimum_required(VERSION 3.5.1) +project(popen-noshell) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/sdcv/CMakeLists.txt b/thirdparty/sdcv/CMakeLists.txt index 34edb3880..e0f81eb3a 100644 --- a/thirdparty/sdcv/CMakeLists.txt +++ b/thirdparty/sdcv/CMakeLists.txt @@ -1,5 +1,5 @@ -project(sdcv) cmake_minimum_required(VERSION 3.5.1) +project(sdcv) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/sdl2/CMakeLists.txt b/thirdparty/sdl2/CMakeLists.txt index a963385cb..b70b53fcf 100644 --- a/thirdparty/sdl2/CMakeLists.txt +++ b/thirdparty/sdl2/CMakeLists.txt @@ -1,5 +1,5 @@ -project(sdl2) cmake_minimum_required(VERSION 3.5.1) +project(sdl2) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/sqlite/CMakeLists.txt b/thirdparty/sqlite/CMakeLists.txt index bf15292fd..f571e9d88 100644 --- a/thirdparty/sqlite/CMakeLists.txt +++ b/thirdparty/sqlite/CMakeLists.txt @@ -1,5 +1,5 @@ -project(sqlite) cmake_minimum_required(VERSION 3.5.1) +project(sqlite) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/tar/CMakeLists.txt b/thirdparty/tar/CMakeLists.txt index 9d0b82cac..5ecb0a3ec 100644 --- a/thirdparty/tar/CMakeLists.txt +++ b/thirdparty/tar/CMakeLists.txt @@ -1,5 +1,5 @@ -project(tar) cmake_minimum_required(VERSION 3.5.1) +project(tar) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/tesseract/CMakeLists.txt b/thirdparty/tesseract/CMakeLists.txt index dcf5bc34a..63527df14 100644 --- a/thirdparty/tesseract/CMakeLists.txt +++ b/thirdparty/tesseract/CMakeLists.txt @@ -1,5 +1,5 @@ -project(tesseract) cmake_minimum_required(VERSION 3.5.1) +project(tesseract) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/turbo/CMakeLists.txt b/thirdparty/turbo/CMakeLists.txt index 5613d88c8..adbcba565 100644 --- a/thirdparty/turbo/CMakeLists.txt +++ b/thirdparty/turbo/CMakeLists.txt @@ -1,5 +1,5 @@ -project(turbo) cmake_minimum_required(VERSION 3.5.1) +project(turbo) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/utf8proc/CMakeLists.txt b/thirdparty/utf8proc/CMakeLists.txt index f542743a4..d522489c5 100644 --- a/thirdparty/utf8proc/CMakeLists.txt +++ b/thirdparty/utf8proc/CMakeLists.txt @@ -1,5 +1,5 @@ -project(utf8proc) cmake_minimum_required(VERSION 3.5.1) +project(utf8proc) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/zlib/CMakeLists.txt b/thirdparty/zlib/CMakeLists.txt index 8913bedda..f22bf996e 100644 --- a/thirdparty/zlib/CMakeLists.txt +++ b/thirdparty/zlib/CMakeLists.txt @@ -1,5 +1,5 @@ -project(zlib) cmake_minimum_required(VERSION 3.5.1) +project(zlib) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/zstd/CMakeLists.txt b/thirdparty/zstd/CMakeLists.txt index 89e4b4920..f5cff9496 100644 --- a/thirdparty/zstd/CMakeLists.txt +++ b/thirdparty/zstd/CMakeLists.txt @@ -1,5 +1,5 @@ -project(zstd) cmake_minimum_required(VERSION 3.5.1) +project(zstd) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common") diff --git a/thirdparty/zsync2/CMakeLists.txt b/thirdparty/zsync2/CMakeLists.txt index 15645c121..35760f6d3 100644 --- a/thirdparty/zsync2/CMakeLists.txt +++ b/thirdparty/zsync2/CMakeLists.txt @@ -1,5 +1,5 @@ -project(zsync2) cmake_minimum_required(VERSION 3.5.1) +project(zsync2) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../cmake_modules") include("koreader_thirdparty_common")