From 247b7cc551ed88f445fe34a059a012311fbe7674 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 3 Jul 2008 18:19:39 -0400 Subject: [PATCH] COMP: Find Boost as installed by the BoostPro/Boost Consulting installers on Windows --- Modules/FindBoost.cmake | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index c2224a073..8fc73c696 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -226,13 +226,17 @@ ELSE (_boost_IN_CACHE) SET(_boost_INCLUDE_SEARCH_DIRS C:/boost/include - "${ENV}{ProgramFiles}/boost/boost_${Boost_FIND_VERSION_MAJOR}_${Boost_FIND_VERSION_MINOR}_${Boost_FIND_VERSION_PATCH}" + "C:/boost" + "$ENV{ProgramFiles}/boost/boost_${Boost_FIND_VERSION_MAJOR}_${Boost_FIND_VERSION_MINOR}_${Boost_FIND_VERSION_PATCH}" + "$ENV{ProgramFiles}/Boost" /sw/local/include ) SET(_boost_LIBRARIES_SEARCH_DIRS C:/boost/lib - "${ENV}{ProgramFiles}/boost/boost_${Boost_FIND_VERSION_MAJOR}_${Boost_FIND_VERSION_MINOR}_${Boost_FIND_VERSION_PATCH}/lib" + "C:/boost" + "$ENV{ProgramFiles}/boost/boost_${Boost_FIND_VERSION_MAJOR}_${Boost_FIND_VERSION_MINOR}_${Boost_FIND_VERSION_PATCH}/lib" + "$ENV{ProgramFiles}/Boost" /sw/local/lib )