diff options
author | Yves Frederix <yves.frederix@gmail.com> | 2017-01-30 10:53:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-30 14:29:28 (GMT) |
commit | 97d61562d064af4e79ed51cfe4ef4ea95f780b23 (patch) | |
tree | a5d0e42a0231165854a435d8b693027c71f92ff0 /Modules/FindBoost.cmake | |
parent | cbabde81f26db615411aafc788b9a0db35a87267 (diff) | |
download | CMake-97d61562d064af4e79ed51cfe4ef4ea95f780b23.zip CMake-97d61562d064af4e79ed51cfe4ef4ea95f780b23.tar.gz CMake-97d61562d064af4e79ed51cfe4ef4ea95f780b23.tar.bz2 |
FindBoost: unset cache variables if the lib dir changes
This fixes a regression introduced by commit v3.3.0-rc1~5^2~2
(FindBoost: Search for debug and release libraries separately,
2015-01-26). The `_Boost_CHANGE_LIBDIR` variable was split into
`_Boost_CHANGE_LIBDIR_{DEBUG,RELEASE}` but one usage site was not
updated.
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r-- | Modules/FindBoost.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 266d135..e795aad 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -1463,7 +1463,7 @@ if(NOT _Boost_THREAD_DEPENDENCY_LIBS EQUAL -1) endif() # If the user changed any of our control inputs flush previous results. -if(_Boost_CHANGE_LIBDIR OR _Boost_CHANGE_LIBNAME) +if(_Boost_CHANGE_LIBDIR_DEBUG OR _Boost_CHANGE_LIBDIR_RELEASE OR _Boost_CHANGE_LIBNAME) foreach(COMPONENT ${_Boost_COMPONENTS_SEARCHED}) string(TOUPPER ${COMPONENT} UPPERCOMPONENT) foreach(c DEBUG RELEASE) |