From d4900c2eca0964f8ce719cb4b8502e15114c042e Mon Sep 17 00:00:00 2001 From: Philip Lowman Date: Sat, 18 Sep 2010 10:59:42 -0400 Subject: FindBoost.cmake: Fix compiling against a boost source tree This fixes issues 11192 & 11187. --- Modules/FindBoost.cmake | 5 +---- 1 file changed, 1 insertion(+), 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) -- cgit v0.12