diff options
author | Philip Lowman <philip@yhbt.com> | 2010-09-18 14:59:42 (GMT) |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2010-09-18 14:59:42 (GMT) |
commit | d4900c2eca0964f8ce719cb4b8502e15114c042e (patch) | |
tree | d87a4499b66691d341541aeaca06f9fcdc348a2c /Modules/FindBoost.cmake | |
parent | 6ed7d9937aa8242e14a08c2da33df4d3d9b7f864 (diff) | |
download | CMake-d4900c2eca0964f8ce719cb4b8502e15114c042e.zip CMake-d4900c2eca0964f8ce719cb4b8502e15114c042e.tar.gz CMake-d4900c2eca0964f8ce719cb4b8502e15114c042e.tar.bz2 |
FindBoost.cmake: Fix compiling against a boost source tree
This fixes issues 11192 & 11187.
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r-- | Modules/FindBoost.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 8fc2dd1..ee77abe 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -550,10 +550,7 @@ ELSE (_boost_IN_CACHE) ENDIF() list(APPEND _boost_PATH_SUFFIXES "boost-${_boost_BOOSTIFIED_VERSION}") - if(WIN32) - # For BoostPro's underscores (and others?) - list(APPEND _boost_PATH_SUFFIXES "boost_${_boost_BOOSTIFIED_VERSION}") - endif() + list(APPEND _boost_PATH_SUFFIXES "boost_${_boost_BOOSTIFIED_VERSION}") ENDFOREACH(_boost_VER) |