FindBoost.cmake: Fix compiling against a boost source tree
This fixes issues 11192 & 11187.
This commit is contained in:
parent
6ed7d9937a
commit
d4900c2eca
|
@ -550,10 +550,7 @@ ELSE (_boost_IN_CACHE)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
list(APPEND _boost_PATH_SUFFIXES "boost-${_boost_BOOSTIFIED_VERSION}")
|
list(APPEND _boost_PATH_SUFFIXES "boost-${_boost_BOOSTIFIED_VERSION}")
|
||||||
if(WIN32)
|
list(APPEND _boost_PATH_SUFFIXES "boost_${_boost_BOOSTIFIED_VERSION}")
|
||||||
# For BoostPro's underscores (and others?)
|
|
||||||
list(APPEND _boost_PATH_SUFFIXES "boost_${_boost_BOOSTIFIED_VERSION}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
ENDFOREACH(_boost_VER)
|
ENDFOREACH(_boost_VER)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue