From cf72157536ddf14bc3b5fabd0856ea48f9f5bd99 Mon Sep 17 00:00:00 2001 From: ECHMET-BUILD Date: Tue, 23 Aug 2016 11:32:22 +0200 Subject: [PATCH] Dot not try to look for ICU libraries on Windows --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 84e59c3..7b2e1cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,11 @@ else() add_definitions(-D_HPCS_LITTLE_ENDIAN) endif() -find_package(ICU 52 REQUIRED COMPONENTS uc io) +if (!WIN32) + find_package(ICU 52 REQUIRED COMPONENTS uc io) +else() + set(ICU_INCLUDE_DIRS "") +endif() set(libHPCS_SRCS libhpcs.c) -- 2.43.5