summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-09-22 03:42:39 (GMT)
committerPhilip Lowman <philip@yhbt.com>2009-09-22 03:42:39 (GMT)
commit30e3dba27c7ffee7248b0f55baca4653ede0ec6b (patch)
treeaf0c8145a2f151e9085c376f3d1b313630f585e0 /Modules
parentad5a455bb576c52a3e7ad55af797c25d8ebf9147 (diff)
downloadCMake-30e3dba27c7ffee7248b0f55baca4653ede0ec6b.zip
CMake-30e3dba27c7ffee7248b0f55baca4653ede0ec6b.tar.gz
CMake-30e3dba27c7ffee7248b0f55baca4653ede0ec6b.tar.bz2
Make Boost easier to find
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBoost.cmake5
1 files changed, 4 insertions, 1 deletions
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
)