From: ECHMET-BUILD Date: Tue, 23 Aug 2016 09:32:22 +0000 (+0200) Subject: Dot not try to look for ICU libraries on Windows X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=cf72157536ddf14bc3b5fabd0856ea48f9f5bd99;p=libHPCS.git Dot not try to look for ICU libraries on Windows --- 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)