BUG: fix for bug 5464 better find boost for windows
This commit is contained in:
parent
b57b1c563d
commit
4b2925222a
|
@ -72,7 +72,7 @@ SET(BOOST_DIR_MESSAGE "Set the Boost_INCLUDE_DIR cmake cache entry to the ${BOOS
|
|||
SET(BOOST_DIR_SEARCH $ENV{BOOST_ROOT})
|
||||
IF(BOOST_DIR_SEARCH)
|
||||
FILE(TO_CMAKE_PATH ${BOOST_DIR_SEARCH} BOOST_DIR_SEARCH)
|
||||
SET(BOOST_DIR_SEARCH ${BOOST_DIR_SEARCH}/include)
|
||||
SET(BOOST_DIR_SEARCH ${BOOST_DIR_SEARCH} ${BOOST_DIR_SEARCH}/include)
|
||||
ENDIF(BOOST_DIR_SEARCH)
|
||||
|
||||
IF(WIN32)
|
||||
|
|
Loading…
Reference in New Issue