diff --git a/toonz/cmake/FindLZO.cmake b/toonz/cmake/FindLZO.cmake index 25ec643..fa3a862 100644 --- a/toonz/cmake/FindLZO.cmake +++ b/toonz/cmake/FindLZO.cmake @@ -33,12 +33,14 @@ find_path( ${_header_suffixes} ) +# List dynamic library 'so' first +# since static has issues on some systems, see: #866 find_library( LZO_LIBRARY NAMES + liblzo2.so liblzo2.a lzo2_64.lib - liblzo2.so HINTS ${_lib_hints} PATH_SUFFIXES