MantisBT - CMake
View Issue Details
0014318CMakeCMakepublic2013-07-26 19:442014-10-06 10:33
irwin 
 
normalminorhave not tried
closedduplicate 
 
 
0014318: ExternalProject module needs small patch to allow unpacking of *.tar.xz files
The CMake logic in ExternalProject.cmake does tests for filename patterns which currently do not contain the pattern for *.tar.xz. The attached patch fixes this issue so that ExternalProject_Add correctly unpacks *.tar.xz files on Linux.
Use ExternalProject_Add to attempt to unpack a *.tar.xz tarball on Linux.
Note there is a related fix (consisting of importing the latest libarchive source code into CMake) in the works that should allow "cmake -E tar xfz *.tar.xz" to work properly on MSYS. When that fix is combined with the present one the result will be that ExternalProject_Add correctly unpacks *.tar.xz files on MSYS (as well as Linux).
No tags attached.
duplicate of 0013515closed  ExternalProject doesn’t handle .tar.xz 
related to 0014504closed  libarchive supports 7-Zip, Add 7-Zip support to cmake 
patch ExternalProject.cmake.patch (1,682) 2013-07-26 19:44
https://public.kitware.com/Bug/file/4828/ExternalProject.cmake.patch
Issue History
2013-07-26 19:44irwinNew Issue
2013-07-26 19:44irwinFile Added: ExternalProject.cmake.patch
2014-04-09 15:20Brad KingRelationship addedrelated to 0014504
2014-04-09 15:20Brad KingRelationship addedduplicate of 0013515
2014-04-10 13:57Brad KingNote Added: 0035671
2014-04-10 13:57Brad KingStatusnew => resolved
2014-04-10 13:57Brad KingResolutionopen => duplicate
2014-10-06 10:33Robert MaynardNote Added: 0036966
2014-10-06 10:33Robert MaynardStatusresolved => closed

Notes
(0035671)
Brad King   
2014-04-10 13:57   
Resolving as duplicate of 0013515. I mentioned this patch in 0013515:0035670 along with an explanation of the underlying problem with fixing the issue.
(0036966)
Robert Maynard   
2014-10-06 10:33   
Closing resolved issues that have not been updated in more than 4 months.