Merge release-2018 into master
[alexxy/gromacs.git] / src / gromacs / gpu_utils / ocl_compiler.cpp
index 3384e20772e2d11eff4b37d108a35966bc98b0bd..fce784e1de1a5807d95f3a2c0f5a3711ee9ae455 100644 (file)
@@ -231,7 +231,7 @@ getSourceRootPath(const std::string &sourceRelativePath)
         InstallationPrefixInfo      info           = getProgramContext().installationPrefix();
         std::string                 dataPathSuffix = (info.bSourceLayout ?
                                                       sourceRelativePath :
-                                                      OCL_INSTALL_DIR);
+                                                      GMX_INSTALL_OCLDIR);
         sourceRootPath = Path::join(info.path, dataPathSuffix);
     }
     else