Use default CMake path variables
[alexxy/gromacs.git] / src / gromacs / gpu_utils / ocl_compiler.cpp
index 950c323fab7c79e87a71ece156046b987a36e117..957c6bc45387d0832fc20d850e6a6addb47cefab 100644 (file)
@@ -229,7 +229,7 @@ getKernelRootPath()
         InstallationPrefixInfo      info           = getProgramContext().installationPrefix();
         std::string                 dataPathSuffix = (info.bSourceLayout ?
                                                       "src/gromacs/mdlib/nbnxn_ocl" :
-                                                      OCL_INSTALL_DIR);
+                                                      GMX_INSTALL_OCLDIR);
         kernelRootPath = Path::join(info.path, dataPathSuffix);
     }
     else