Skip to content

Commit

Permalink
Specify LZ4 library name on Windows
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jakirkham committed May 13, 2018
1 parent a3de304 commit 99eb93e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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:PATH="%LIBRARY_LIB%\liblz4.lib" ^
-DVTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB
if errorlevel 1 exit 1

Expand Down

0 comments on commit 99eb93e

Please sign in to comment.