diff options
author | Philip Lowman <philip@yhbt.com> | 2010-09-18 10:59:42 -0400 |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2010-09-18 10:59:42 -0400 |
commit | d4900c2eca0964f8ce719cb4b8502e15114c042e (patch) | |
tree | d87a4499b66691d341541aeaca06f9fcdc348a2c /Modules/FindBoost.cmake | |
parent | 6ed7d9937aa8242e14a08c2da33df4d3d9b7f864 (diff) | |
download | cmake-d4900c2eca0964f8ce719cb4b8502e15114c042e.tar.gz |
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 8fc2dd13bd..ee77abeab4 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) |