boost dir is used for out-of-source build detection

This commit is contained in:
Peter Kümmel 2015-12-20 14:00:04 +01:00
parent 3c3141dc23
commit e1c893127f

View File

@ -302,7 +302,7 @@ bool isBuildDir(FileName const & abs_binary, string const & dir_location,
return true;
}
// cmake file, no Makefile in lib
FileName build_boost_dir = FileName(addPath(search_dir, "boost"));
FileName build_boost_dir = FileName(addPath(search_dir + "/3rdparty", "boost"));
if (!fileSearch(build_boost_dir.absFileName(), "cmake_install.cmake").empty()) {
return true;
}