Skip to content
Snippets Groups Projects
Commit d3274e0a authored by Steven's avatar Steven Committed by Brad King
Browse files

FindLATEX: Search user-local MiKTeX locations

I've noticed the default installer for MikTex does not prompt for
escalation.  So, many installations I find do not have registry entries.
This should cover finding it in the current defaults.
parent 24399a8d
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,10 @@ if (WIN32)
# Try to find the MikTex binary path (look for its package manager).
find_path(MIKTEX_BINARY_PATH mpm.exe
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\MiK\\MiKTeX\\CurrentVersion\\MiKTeX;Install Root]/miktex/bin"
"$ENV{LOCALAPPDATA}/Programs/MiKTeX/miktex/bin"
"$ENV{LOCALAPPDATA}/Programs/MiKTeX/miktex/bin/x64"
"$ENV{APPDATA}/Programs/MiKTeX/miktex/bin"
"$ENV{APPDATA}/Programs/MiKTeX/miktex/bin/x64"
DOC
"Path to the MikTex binary directory."
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment