Fix/Workaround for #866 (#899)

Resolves linking issue on Linux
This commit is contained in:
Campbell Barton 2017-04-12 20:20:55 +10:00 committed by shun-iwasawa
parent 245dc0d645
commit ac30fbadc3

View file

@ -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