Fix error message when VS do not found

This change required after code for finding VS location was moved
to vsconfig.gradle and this message was not changed appropriately.
This commit is contained in:
Andrii Kurdiumov 2019-09-21 23:50:44 +06:00
parent cbf4c9d34a
commit 0cb158edb8

View file

@ -51,7 +51,7 @@ task CheckToolChain {
if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
// ensure that required MS Visual Studio is installed where expected
String msg = "Microsoft Visual Studio install not found: ${VISUAL_STUDIO_BASE_DIR}\n" +
"Adjust path in Ghidra/GPL/nativeBuildProperties.gradle if needed."
"Adjust path in Ghidra/GPL/vsconfig.gradle if needed."
if (!file(VISUAL_STUDIO_BASE_DIR).exists() || !file(VISUAL_STUDIO_INSTALL_DIR).exists()) {
throw new GradleException(msg);
}