diff options
author | yume todo <yume-wikijp@live.jp> | 2017-04-06 14:58:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-06 18:03:26 (GMT) |
commit | 6115875bf0faef61c558e46395e67bdfd4ad48e1 (patch) | |
tree | d79e4a132a2111ec90c1ef7e0509fa6d90826621 /Modules | |
parent | da9fe11b98ae9b176c1fbee8afb2cacddacf0c11 (diff) | |
download | CMake-6115875bf0faef61c558e46395e67bdfd4ad48e1.zip CMake-6115875bf0faef61c558e46395e67bdfd4ad48e1.tar.gz CMake-6115875bf0faef61c558e46395e67bdfd4ad48e1.tar.bz2 |
FindBoost: Fix release name candidate list construction
Changes in commit 3ca6f70f (FindBoost: Allow testing for multiple
compiler suffixes, 2017-03-28) accidentally left a `set()` instead of a
`list(APPEND)` while constructing `_boost_RELEASE_NAMES`. Fix the logic
to match what was done for `_boost_DEBUG_NAMES`. Otherwise we drop some
of the candidate names.
Diffstat (limited to 'Modules')
-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 1d75720..c3cf341 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -1544,7 +1544,7 @@ foreach(COMPONENT ${Boost_FIND_COMPONENTS}) ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${compiler}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${compiler}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG} ) endforeach() - set(_boost_RELEASE_NAMES + list(APPEND _boost_RELEASE_NAMES ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG} ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT} ) |