summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-12-10 21:29:08 +0100
committerJohn Wiegley <johnw@newartisans.com>2023-12-12 00:55:33 +0100
commitb07f20850515786028229f5a4d51488e3ff30aec (patch)
treef1f1d242b0eeddb8c047ac35b4d64c0c3a657ae8
parent7c113c4f7e3dd2a192a79af53be23312455e6e67 (diff)
downloadfork-ledger-b07f20850515786028229f5a4d51488e3ff30aec.tar.gz
fork-ledger-b07f20850515786028229f5a4d51488e3ff30aec.tar.bz2
fork-ledger-b07f20850515786028229f5a4d51488e3ff30aec.zip
cmake: Minor clean-up regarding ICU version
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6b1270d..9b177afc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,7 @@ set(Required_CMake_Version 3.16.2)
set(Required_Boost_Version 1.72)
set(Required_Gmp_Version 6.1.2)
set(Required_Mpfr_Version 4.0.2)
+set(Required_Icu_Version 63)
set(Required_Python_Version 3.9)
set(Required_Gpgmepp_Version 1.13.1)
@@ -108,7 +109,7 @@ endif()
########################################################################
include(FindICU)
-find_package(ICU 63 OPTIONAL_COMPONENTS uc i18n)
+find_package(ICU ${Required_Icu_Version} OPTIONAL_COMPONENTS uc i18n)
include(CheckIncludeFiles)
include(CheckLibraryExists)