2
0
mirror of https://github.com/boostorg/locale.git synced 2026-01-19 04:22:08 +00:00

Fix env variable check in tools/download_icu.cmake

This commit is contained in:
Alexander Grund
2023-06-07 14:08:42 +02:00
committed by Alexander Grund
parent 5289197aba
commit 86064995a8

View File

@@ -4,7 +4,7 @@ if(NOT ICU_VERSION)
message(FATAL_ERROR "ICU_VERSION not set")
endif()
if(NOT ICU_ROOT)
if(DEFINED ENV{ICU_ROOT}})
if(DEFINED ENV{ICU_ROOT})
set(ICU_ROOT $ENV{ICU_ROOT})
else()
message(FATAL_ERROR "ICU_ROOT not set")