From b5a4e79736513aee6c8ef4da6eb05bee0e6ce17e Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 2 Aug 2017 18:44:32 +0200 Subject: [PATCH] Since boost dir may not exist anymore, use the lyx-src dir for out-of-source build detection --- src/support/Package.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2