summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-02 13:03:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-02 13:03:52 (GMT)
commite14e1f273adaba11d9eb2fc019fb36fc215d99dc (patch)
treede4fd93ba86edd61a83b790e890c4cd31e588aaa /Modules
parentd9f630a171044789029d5496b4fd3ff6023647ec (diff)
parentb3df1e9f709df1e06e8c25be295a40ecd551103e (diff)
downloadCMake-e14e1f273adaba11d9eb2fc019fb36fc215d99dc.zip
CMake-e14e1f273adaba11d9eb2fc019fb36fc215d99dc.tar.gz
CMake-e14e1f273adaba11d9eb2fc019fb36fc215d99dc.tar.bz2
Merge topic 'FindBoost-per-config-libraries'
b3df1e9f FindBoost: Fix Boost_LIBRARY_DIR_{RELEASE,DEBUG} cache entry configuration
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBoost.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index c844aed..05b552a 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -882,8 +882,10 @@ endif()
# Begin finding boost libraries
# ------------------------------------------------------------------------
+set(_Boost_VARS_LIB "")
foreach(c DEBUG RELEASE)
set(_Boost_VARS_LIB_${c} BOOST_LIBRARYDIR Boost_LIBRARY_DIR_${c})
+ list(APPEND _Boost_VARS_LIB ${_Boost_VARS_LIB_${c}})
_Boost_CHANGE_DETECT(_Boost_CHANGE_LIBDIR_${c} ${_Boost_VARS_DIR} ${_Boost_VARS_LIB_${c}} Boost_INCLUDE_DIR)
# Clear Boost_LIBRARY_DIR_${c} if it did not change but other input affecting the
# location did. We will find a new one based on the new inputs.