From 30e3dba27c7ffee7248b0f55baca4653ede0ec6b Mon Sep 17 00:00:00 2001 From: Philip Lowman Date: Mon, 21 Sep 2009 23:42:39 -0400 Subject: Make Boost easier to find --- Modules/FindBoost.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index b05e98e..6084a60 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -381,6 +381,7 @@ ELSE (_boost_IN_CACHE) SET(_boost_INCLUDE_SEARCH_DIRS C:/boost/include C:/boost + "$ENV{ProgramFiles}/boost/include" "$ENV{ProgramFiles}/boost" /sw/local/include ) @@ -638,13 +639,15 @@ ELSE (_boost_IN_CACHE) # ------------------------------------------------------------------------ # Begin finding boost libraries # ------------------------------------------------------------------------ - + SET(_boost_LIBRARIES_SEARCH_DIRS ${Boost_INCLUDE_DIR}/lib + ${Boost_INCLUDE_DIR}/../lib C:/boost/lib C:/boost "$ENV{ProgramFiles}/boost/boost_${Boost_MAJOR_VERSION}_${Boost_MINOR_VERSION}_${Boost_SUBMINOR_VERSION}/lib" "$ENV{ProgramFiles}/boost/boost_${Boost_MAJOR_VERSION}_${Boost_MINOR_VERSION}/lib" + "$ENV{ProgramFiles}/boost/lib" "$ENV{ProgramFiles}/boost" /sw/local/lib ) -- cgit v0.12