Add MinSizeRel and RelWithDebInfo to MSVCBuildDir check
authorgregorycu <gregory.currie@gmail.com>
Sun, 3 Jan 2016 07:30:39 +0000 (18:30 +1100)
committerLoic Blot <loic.blot@unix-experience.fr>
Sun, 3 Jan 2016 14:38:20 +0000 (15:38 +0100)
src/porting.cpp

index 223299892bb45fe2bff09132f597c2f2130b11a3..fd1915b0d6a62c5d4f81970a7eb87a8ffbf1e42d 100644 (file)
@@ -163,6 +163,8 @@ bool detectMSVCBuildDir(const std::string &path)
 {
        const char *ends[] = {
                "bin\\Release",
+               "bin\\MinSizeRel",
+               "bin\\RelWithDebInfo",
                "bin\\Debug",
                "bin\\Build",
                NULL