0002-CMakeLists.txt-Explain-which-variable-is-used-to-def.patch (858B)
- From af330123af933d829594ff32fac44e0217324350 Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Tue, 6 Nov 2018 15:09:22 +0100
- Subject: [PATCH 2/8] CMakeLists.txt: Explain which variable is used to define
- a port if undefined
- ---
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/CMakeLists.txt b/CMakeLists.txt
- index 9b5f7a78..6ead6bdc 100644
- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -49,7 +49,7 @@ set(PORT "NOPORT" CACHE STRING "choose which WebKit port to build (one of ${ALL_
- list(FIND ALL_PORTS ${PORT} RET)
- if (${RET} EQUAL -1)
- - message(FATAL_ERROR "Please choose which WebKit port to build (one of ${ALL_PORTS})")
- + message(FATAL_ERROR "Please define a PORT to build with (one of ${ALL_PORTS})")
- endif ()
- string(TOLOWER ${PORT} WEBKIT_PORT_DIR)
- --
- 2.24.1