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:
committed by
Alexander Grund
parent
5289197aba
commit
86064995a8
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user