diff --git a/src/time_Ar0n.cpp b/src/time_Ar0n.cpp index 08dbd0f0faea61cb325cab91d6cc8412b416dc97..d9f615e8edb74a7ecd21261850d2946286b867a2 100644 --- a/src/time_Ar0n.cpp +++ b/src/time_Ar0n.cpp @@ -139,7 +139,7 @@ int main() { // You may need to change this path to suit your installation // Note: forward-slashes are recommended. - std::string path = "C:/Program Files (x86)/REFPROP"; + std::string path = std::getenv("RPPREFIX"); std::string DLL_name = ""; // Load the shared library and set up the fluid