Merge release-2018 into master
[alexxy/gromacs.git] / src / gromacs / commandline / cmdlineprogramcontext.cpp
index d6954c1bb99fed4f027b17538581b31b44a62ae7..559a315b5e1410db87f34093dc268b737d0d6051 100644 (file)
@@ -186,7 +186,7 @@ bool isAcceptableLibraryPath(const std::string &path)
  */
 bool isAcceptableLibraryPathPrefix(const std::string &path)
 {
-    std::string testPath = Path::join(path, DATA_INSTALL_DIR, "top");
+    std::string testPath = Path::join(path, GMX_INSTALL_GMXDATADIR, "top");
     return isAcceptableLibraryPath(testPath);
 }