Displaying 2 results from an estimated 2 matches for "libzma".
Did you mean:
liblzma
2013 Sep 03
0
[LLVMdev] Adding a library to CMake deps
...-index-test/CMakeLists.txt:
target_link_libraries(c-index-test ${LIBXML2_LIBRARIES} lzma)
That affects that instance only (maybe it is the only one.) And if you
pretend to install that change, first check that XML2 always requires
lzma (to not break the build on systems where it doesn't and libzma is
absent.)
A more robust fix shall work on llvm/cmake/config-ix.cmake: when XML2 is
detected, add lzma as a dependency. This has the some caveat mentioned
on the previous paragraph.
Finally, the real fix shall be implemented on FindLibXml2.cmake, which
belongs to the CMake project. It should tak...
2013 Sep 03
4
[LLVMdev] Adding a library to CMake deps
Hi folks,
When cross-compiling LLVM to ARM, using CMake+Ninja, I realized that
libxml2 depends on lzma, but the dependency is not explicit on the
build.ninja file under the "build bin/c-index-test"'s LINK_LIBRARIES (which
is the only one that cares about it).
I couldn't find the place to add -llzma into the deps, and the only mention
of libxml2 is in config-ix.cmake: