mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
Extract LLVM to specific directory.
This commit is contained in:
parent
6c95649904
commit
53138afabd
@ -99,6 +99,8 @@ if(NOT EXISTS ${CLANG_ARCHIVE_EXTRACT_DIR})
|
||||
message(STATUS "Extracting downloaded LLVM with CMake built-in tar ...")
|
||||
# CMake has builtin support for tar via the -E flag
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xf ${CLANG_ARCHIVE_FILE}
|
||||
# Extract to here to allow running cmake from everywhere
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
OUTPUT_QUIET)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user