aboutsummaryrefslogtreecommitdiff
path: root/src/porting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/porting.cpp')
-rw-r--r--src/porting.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/porting.cpp b/src/porting.cpp
index 584d2e2a2..e99d08426 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -290,7 +290,11 @@ void pathRemoveFile(char *path, char delim)
bool detectMSVCBuildDir(char *c_path)
{
std::string path(c_path);
- const char *ends[] = {"bin\\Release", "bin\\Build", NULL};
+ const char *ends[] = {
+ "bin\\Release",
+ "bin\\Debug",
+ "bin\\Build",
+ NULL};
return (removeStringEnd(path, ends) != "");
}