Make Boost easier to find

This commit is contained in:
Philip Lowman 2009-09-21 23:42:39 -04:00
parent ad5a455bb5
commit 30e3dba27c
1 changed files with 4 additions and 1 deletions

View File

@ -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
)