MantisBT - CMake
View Issue Details
0010932CMakeCMakepublic2010-07-03 10:182010-09-10 00:07
Andrey Rahmatullin 
Brad King 
normalminoralways
closedfixed 
CMake-2-8 
CMake 2.8.3CMake 2.8.3 
0010932: --system-libs doesn't enable system curl, libarchive etc.
--system-libs bootstrap option enables -DCMAKE_USE_SYSTEM_LIBRARIES=1, but -DCMAKE_USE_SYSTEM_LIBRARIES=1 enables only CMAKE_USE_SYSTEM_CURL, CMAKE_USE_SYSTEM_EXPAT and CMAKE_USE_SYSTEM_ZLIB while there are also at least CMAKE_USE_SYSTEM_CURL, CMAKE_USE_SYSTEM_BZIP2 and CMAKE_USE_SYSTEM_LIBARCHIVE.
Btw, there is an inconsistency regarding XMLRPC: CMAKE_USE_SYSTEM_XMLRPC doesn't exist but is tested under "Mention to the user what system libraries are being used."
No tags attached.
related to 0010923closed Brad King Missing Findlibarchive.cmake hinders building of CMake system's libarchive. 
Issue History
2010-07-03 10:18Andrey RahmatullinNew Issue
2010-07-13 09:20Bill HoffmanStatusnew => assigned
2010-07-13 09:20Bill HoffmanAssigned To => Brad King
2010-07-13 10:51Brad KingNote Added: 0021386
2010-07-29 10:48Brad KingRelationship addedrelated to 0010923
2010-07-29 10:49Brad KingNote Added: 0021546
2010-07-29 10:49Brad KingStatusassigned => closed
2010-07-29 10:49Brad KingResolutionopen => fixed
2010-09-10 00:07David ColeFixed in Version => CMake 2.8.3
2010-09-10 00:07David ColeTarget Version => CMake 2.8.3

Notes
(0021386)
Brad King   
2010-07-13 10:51   
I've added CMAKE_USE_SYSTEM_BZIP2:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6a24bdfc [^]

The old CMAKE_USE_SYSTEM_XMLRPC option is no longer meaningful. I just removed the check for it from that loop.

Currently we do not support a system libarchive. The CMAKE_USE_SYSTEM_LIBARCHIVE option is not implemented properly. The find_package(libarchive) line is wrong.
(0021546)
Brad King   
2010-07-29 10:49   
The fix for 0010923 adds support for the system libarchive library.