]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Dot not try to look for ICU libraries on Windows
authorECHMET-BUILD <none@none.xx>
Tue, 23 Aug 2016 09:32:22 +0000 (11:32 +0200)
committerECHMET-BUILD <none@none.xx>
Tue, 23 Aug 2016 09:32:22 +0000 (11:32 +0200)
CMakeLists.txt

index 84e59c30bdf9bda377c11fb2f7fea28b28e5054d..7b2e1cd651ca247f414ff48a8a6df38d0e540f92 100644 (file)
@@ -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)