mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Since boost dir may not exist anymore, use the lyx-src dir for out-of-source build detection
This commit is contained in:
parent
b701c25277
commit
b5a4e79736
@ -302,8 +302,8 @@ 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 + "/3rdparty", "boost"));
|
||||
if (!fileSearch(build_boost_dir.absFileName(), "cmake_install.cmake").empty()) {
|
||||
FileName build_src_dir = FileName(addPath(search_dir, "src"));
|
||||
if (!fileSearch(build_src_dir.absFileName(), "cmake_install.cmake").empty()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user