From: Bastian Germann <bage@debian.org>
Date: Tue, 23 Aug 2022 20:52:18 +0200
Forwarded: no
Subject: Prevent FetchContent_Declare with empty URL

CMake checks the URL parameter to contain a supported mechanism.
On Linux, this is empty, so the function call has to be prevented.
---
 compiler/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/CMakeLists.txt b/compiler/CMakeLists.txt
index 2b49253..20ece0b 100644
--- a/compiler/CMakeLists.txt
+++ b/compiler/CMakeLists.txt
@@ -1,7 +1,6 @@
 project(compiler VERSION 5.2.1)
 cmake_policy(SET CMP0074 NEW)
 
-FetchContent_Declare(icu URL ${ICU_URL})
 
 if (DEFINED ICU_URL OR DEFINED FETCHCONTENT_SOURCE_DIR_ICU)
     FetchContent_GetProperties(icu)
