diff options
author | Philip Lowman <philip@yhbt.com> | 2009-01-20 03:51:27 (GMT) |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2009-01-20 03:51:27 (GMT) |
commit | 163af934491e4c731aa1499828ec36a8b36b30db (patch) | |
tree | ad053e1b298eb44fa2b0e76da7fdd13d983c9640 /Modules/FindBoost.cmake | |
parent | 47588ac8d07ebcbf322b322034afea3cd49dba2c (diff) | |
download | CMake-163af934491e4c731aa1499828ec36a8b36b30db.zip CMake-163af934491e4c731aa1499828ec36a8b36b30db.tar.gz CMake-163af934491e4c731aa1499828ec36a8b36b30db.tar.bz2 |
BUG: Fix detection of boost libraries without any compiler encoding (e.g.
Gentoo 1.37 system installed boost). Fixes issue #8404 reported on mailing
list.
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r-- | Modules/FindBoost.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 4a036b8..8ea67e5 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -654,6 +654,8 @@ ELSE (_boost_IN_CACHE) FIND_LIBRARY(Boost_${UPPERCOMPONENT}_LIBRARY_RELEASE NAMES ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_STATIC_TAG}-${Boost_LIB_VERSION} + ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}-${Boost_LIB_VERSION} + ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_STATIC_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_STATIC_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT} @@ -663,6 +665,8 @@ ELSE (_boost_IN_CACHE) FIND_LIBRARY(Boost_${UPPERCOMPONENT}_LIBRARY_DEBUG NAMES ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}-${_boost_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_STATIC_TAG}${_boost_ABI_TAG}-${Boost_LIB_VERSION} + ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}-${_boost_ABI_TAG}-${Boost_LIB_VERSION} + ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_STATIC_TAG}${_boost_ABI_TAG}-${Boost_LIB_VERSION} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}-${_boost_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_STATIC_TAG}${_boost_ABI_TAG} ${Boost_LIB_PREFIX}boost_${COMPONENT}-${_boost_ABI_TAG} |