]> git.lyx.org Git - lyx.git/commitdiff
Since boost dir may not exist anymore, use the lyx-src dir for out-of-source build...
authorKornel Benko <kornel@lyx.org>
Wed, 2 Aug 2017 16:44:32 +0000 (18:44 +0200)
committerKornel Benko <kornel@lyx.org>
Wed, 2 Aug 2017 16:44:32 +0000 (18:44 +0200)
src/support/Package.cpp

index 4b91bba79af65a68269a71d1746c9d021567a40a..6df43653ffc8e25647a483453d57348bf0325f4a 100644 (file)
@@ -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;
     }