From: Kornel Benko Date: Wed, 2 Aug 2017 16:44:32 +0000 (+0200) Subject: Since boost dir may not exist anymore, use the lyx-src dir for out-of-source build... X-Git-Tag: 2.3.0beta1~61 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b5a4e79736513aee6c8ef4da6eb05bee0e6ce17e;p=features.git Since boost dir may not exist anymore, use the lyx-src dir for out-of-source build detection --- diff --git a/src/support/Package.cpp b/src/support/Package.cpp index 4b91bba79a..6df43653ff 100644 --- a/src/support/Package.cpp +++ b/src/support/Package.cpp @@ -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; }