From b8924e5dec063ab42f3247d1f6a1240ea53d9a33 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Sat, 12 May 2018 22:32:22 -0400 Subject: [PATCH] Specify LZ4 library name on Windows The conda-forge Windows copy of LZ4 prefixes the library name with `lib` so it is `liblz4`. However `FindLZ4.cmake` looks for it without the `lib` and thus does not find `liblz4`. So this corrects that issue by setting `liblz4` as the library name. --- recipe/bld.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/bld.bat b/recipe/bld.bat index 3b8e0e86..ba8c9963 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -36,6 +36,7 @@ cmake .. -G "Ninja" ^ -DVTK_USE_SYSTEM_JSONCPP:BOOL=ON ^ -DVTK_USE_SYSTEM_NETCDF:BOOL=ON ^ -DVTK_USE_SYSTEM_LZ4:BOOL=ON ^ + -DLZ4_LIBRARIES:STRING="liblz4" ^ -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB if errorlevel 1 exit 1