From 460f884c0f7c33f3843879738c95a593ffbaa7fe Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Mon, 23 Nov 2020 19:32:29 +1300 Subject: [PATCH] [README] Clarify custom installation instructions --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab36035..dfc5f44 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,16 @@ import Pkg Pkg.build("Ipopt") ``` -**Very important note: before calling `using Ipopt` in any Julia session, you -must set these environment variables.** +**Very important note: you must set these environment variables before +calling `using Ipopt` in every Julia session.** + +For example: +```julia +ENV["JULIA_IPOPT_LIBRARY_PATH"] = "/Users/oscar/lib" +ENV["JULIA_IPOPT_EXECUTABLE_PATH"] = "/Users/oscar/bin" +using Ipopt +``` +Alternatively, you can set these permanently through your operating system. To switch back to the default binaries, run ```julia