Do not use external lzma library as it causes link errors on several machines and we don't need it.
This commit is contained in:
parent
ac3f37e0b6
commit
7eac77605d
|
@ -166,7 +166,14 @@ MARK_AS_ADVANCED(CLEAR BZIP2_LIBRARIES)
|
|||
#
|
||||
# Find LZMA
|
||||
#
|
||||
IF(BUILD_ARCHIVE_WITHIN_CMAKE)
|
||||
# do not depend on external library
|
||||
# for internal CMake build
|
||||
SET(LZMA_FOUND FALSE)
|
||||
ELSE(BUILD_ARCHIVE_WITHIN_CMAKE)
|
||||
FIND_PACKAGE(LZMA)
|
||||
ENDIF(BUILD_ARCHIVE_WITHIN_CMAKE)
|
||||
|
||||
IF(LZMA_FOUND)
|
||||
SET(HAVE_LIBLZMA 1)
|
||||
SET(HAVE_LZMA_H 1)
|
||||
|
|
Loading…
Reference in New Issue