diff options
author | Brad King <brad.king@kitware.com> | 2017-01-31 14:04:23 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-01-31 14:04:23 (GMT) |
commit | 2e2c92edb03a28ccc6b0755410e58125a472aa52 (patch) | |
tree | 1f9325a937797dfad4bf7b7e32cc4470c40c0f78 | |
parent | 6ec0c09a7a1f148f747db97228fc3bf1f63e3ed1 (diff) | |
parent | 97d61562d064af4e79ed51cfe4ef4ea95f780b23 (diff) | |
download | CMake-2e2c92edb03a28ccc6b0755410e58125a472aa52.zip CMake-2e2c92edb03a28ccc6b0755410e58125a472aa52.tar.gz CMake-2e2c92edb03a28ccc6b0755410e58125a472aa52.tar.bz2 |
Merge topic 'FindBoost-cache-unset-on-change'
97d61562 FindBoost: unset cache variables if the lib dir changes
-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) |