core: set CMake minimum version required to 3.0

This is required for add_library() with INTERFACE library type.
v2.8-utf8proc
Sébastien Helleu 2019-03-25 08:51:00 +01:00
parent c713a0e475
commit 9b4fa10923
8 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@
# along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
#
cmake_minimum_required(VERSION 2.4)
cmake_minimum_required(VERSION 3.0)
project(weechat C)

View File

@ -43,7 +43,7 @@ Bug fixes::
Build::
* core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
* core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options (CMake ≥ 3.0 is now required)
* core: fix compilation on Mac OS (issue #1308)
* lua: add detection of Lua 5.3 with autotools

View File

@ -104,7 +104,7 @@ zu kompilieren und welche Pakete optional genutzt werden können.
| C compiler
(gcc, clang, ...) | | *ja* | zum Erstellen der Binärdatei.
| C++ compiler | | | zum Erstellen der Binärdatei und um Test auszuführen, JavaScript Erweiterung.
| cmake | | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
| cmake | ≥ 3.0 | *ja* | zum kompilieren (autotools ist möglich. cmake wird aber empfohlen).
| pkg-config | | *ja* | entdeckt installierte Bibliotheken.
| libncursesw5-dev ^(2)^ | | *ja* | Ncurses Oberfläche.
| libcurl4-gnutls-dev | | *ja* | URL Transfer.

View File

@ -98,7 +98,7 @@ compile WeeChat.
| C compiler
(gcc, clang, ...) | | *yes* | Build.
| C++ compiler | | | Build and run tests, JavaScript plugin.
| cmake | | *yes* | Build (autotools still possible, but cmake is recommended).
| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but cmake is recommended).
| pkg-config | | *yes* | Detect installed libraries.
| libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface.
| libcurl4-gnutls-dev | | *yes* | URL transfer.

View File

@ -101,7 +101,7 @@ compiler WeeChat.
| compilateur C
(gcc, clang, ...) | | *oui* | Construction.
| compilateur C++ | | | Construction et lancement des tests, extension JavaScript.
| cmake | | *oui* | Construction (autotools toujours possible, mais cmake est recommandé).
| cmake | ≥ 3.0 | *oui* | Construction (autotools toujours possible, mais cmake est recommandé).
| pkg-config | | *oui* | Détection des bibliothèques installées.
| libncursesw5-dev ^(2)^ | | *oui* | Interface ncurses.
| libcurl4-gnutls-dev | | *oui* | Transfert d'URL.

View File

@ -116,7 +116,7 @@ compilare WeeChat.
(gcc, clang, ...) | | *sì* | Build.
// TRANSLATION MISSING
| C++ compiler | | | Build and run tests, plugin JavaScript.
| cmake | | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda cmake).
| cmake | ≥ 3.0 | *sì* | Compilazione (ancora possibile con autotools, ma si raccomanda cmake).
// TRANSLATION MISSING
| pkg-config | | *sì* | Detect installed libraries.
| libncursesw5-dev ^(2)^ | | *sì* | Interfaccia ncurses.

View File

@ -103,7 +103,7 @@ macOS では https://brew.sh/[Homebrew] を使ってください:
| C コンパイラ
(gcc, clang, ...) | | *必須* | ビルド
| C++ コンパイラ | | | ビルドとテストの実行、JavaScript プラグイン
| cmake | | *必須* | ビルド (autotools でも可能ですが、cmake を推奨します)
| cmake | ≥ 3.0 | *必須* | ビルド (autotools でも可能ですが、cmake を推奨します)
| pkg-config | | *必須* | インストール済みライブラリを検出
| libncursesw5-dev ^(2)^ | | *必須* | ncurses インターフェース
| libcurl4-gnutls-dev | | *必須* | URL 転送

View File

@ -104,7 +104,7 @@ WeeChat.
| kompilator C
(gcc, clang, ...) | | *tak* | Kompilacja.
| kompilator C++ | | | Kompilacja i uruchamianie testów, wtyczka JavaScript.
| cmake | | *tak* | Kompilacja (możliwe jest użycie autotools, jednak cmake jest zalecany).
| cmake | ≥ 3.0 | *tak* | Kompilacja (możliwe jest użycie autotools, jednak cmake jest zalecany).
| pkg-config | | *tak* | Wykrywa zainstalowane biblioteki.
| libncursesw5-dev ^(2)^ | | *tak* | Interfejs ncurses.
| libcurl4-gnutls-dev | | *tak* | Transfer URL.