summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-06-29 13:28:12 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-06-29 13:34:17 +0200
commitdd8a259432a78f0f163be161af59e1d5c1eab67e (patch)
tree8d7978289fb5398e6e95022fa8e9328f8eae11e5 /searchlib
parent8ee130dd15f0eac592f33ba80535a31bea2eb0e5 (diff)
Use find_package to find ICU libraries.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/uca/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/uca/CMakeLists.txt b/searchlib/src/vespa/searchlib/uca/CMakeLists.txt
index a04add4bfee..c3f469e59ac 100644
--- a/searchlib/src/vespa/searchlib/uca/CMakeLists.txt
+++ b/searchlib/src/vespa/searchlib/uca/CMakeLists.txt
@@ -1,4 +1,5 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+find_package(ICU 60.0 REQUIRED COMPONENTS uc i18n)
vespa_add_library(searchlib_searchlib_uca
SOURCES
ucaconverter.cpp
@@ -6,6 +7,6 @@ vespa_add_library(searchlib_searchlib_uca
INSTALL lib64
DEPENDS
searchlib
- icui18n
- icuuc
+ ICU::i18n
+ ICU::uc
)