summaryrefslogtreecommitdiffstats
path: root/Modules/CPackNSIS.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-24 15:13:25 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-27 15:04:19 (GMT)
commit5b9149e0833084184c490c1980cc719175f14b0c (patch)
tree815abde1905f967de074d335f56a9672fcbd04cb /Modules/CPackNSIS.cmake
parent5ec8a69caca440d0cf07c769ff90bd8e26230f3d (diff)
downloadCMake-5b9149e0833084184c490c1980cc719175f14b0c.zip
CMake-5b9149e0833084184c490c1980cc719175f14b0c.tar.gz
CMake-5b9149e0833084184c490c1980cc719175f14b0c.tar.bz2
FindBoost: Overhaul caching and search repeat behavior
Overhaul the implementation as follows: (1) Do not cache result variables such as Boost_VERSION, Boost_LIB_VERSION, Boost_LIBRARY_DIRS, Boost_${COMPONENT}_FOUND, Boost_${COMPONENT}_LIBRARY, or Boost_LIB_DIAGNOSTIC_DEFINITIONS that are derived uniquely from other search results. The user should not edit them anyway. (2) Add cache value Boost_LIBRARY_DIR to hold the single directory expected to contain all libraries. Once one library is found, search only that directory for other libraries. (3) Use the find_library NAMES_PER_DIR option to consider all possible library names at the same time. (4) Collect all documented input and cache variables and detect when they have been changed by the user. Discard prior search results that may have been influenced by the changes and search for them again. Environment variables are not expected to be persistent so use them only as hints and do not consider changes to them to be meaningful.
Diffstat (limited to 'Modules/CPackNSIS.cmake')
0 files changed, 0 insertions, 0 deletions