summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2017-12-29 11:38:36 (GMT)
committerPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2018-01-10 06:17:27 (GMT)
commitd56deff7d127b030739bd0034609d0046121d8cd (patch)
tree34407e85faad4f8c52065e1ffb8ffd8c558fecc3 /Modules/FindBoost.cmake
parentb044f69a413123f15a05034c00a8e3763764a1e5 (diff)
downloadCMake-d56deff7d127b030739bd0034609d0046121d8cd.zip
CMake-d56deff7d127b030739bd0034609d0046121d8cd.tar.gz
CMake-d56deff7d127b030739bd0034609d0046121d8cd.tar.bz2
FindBoost: Search for upstream-packaged libs next to includes
Upstream packages Boost binaries for Windows with the 'boost' directory (the INCLUDE_DIR) next to the lib-... directory (the LIBRARY_DIR).
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 4b34802..479c831 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -1496,6 +1496,7 @@ foreach(c DEBUG RELEASE)
${Boost_INCLUDE_DIR}/stage/lib
)
_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS(_boost_LIBRARY_SEARCH_DIRS_${c} "${Boost_INCLUDE_DIR}/..")
+ _Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS(_boost_LIBRARY_SEARCH_DIRS_${c} "${Boost_INCLUDE_DIR}")
if( Boost_NO_SYSTEM_PATHS )
list(APPEND _boost_LIBRARY_SEARCH_DIRS_${c} NO_CMAKE_SYSTEM_PATH NO_SYSTEM_ENVIRONMENT_PATH)
else()