Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brad King
CMake
Commits
7eac7760
Commit
7eac7760
authored
Nov 05, 2009
by
Bill Hoffman
Browse files
Do not use external lzma library as it causes link errors on several machines and we don't need it.
parent
ac3f37e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Utilities/cmlibarchive/CMakeLists.txt
View file @
7eac7760
...
...
@@ -166,7 +166,14 @@ MARK_AS_ADVANCED(CLEAR BZIP2_LIBRARIES)
#
# Find LZMA
#
FIND_PACKAGE
(
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment