diff options
-rw-r--r-- | Modules/FindLATEX.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake index 1e82651..9d7168e 100644 --- a/Modules/FindLATEX.cmake +++ b/Modules/FindLATEX.cmake @@ -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." ) |