summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalGenerator.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index e8435bf..61cb39d 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -127,6 +127,16 @@ void cmLocalGenerator::GenerateInstallRules()
}
}
}
+ if ( libOutPath.size() == 0 )
+ {
+ // LIBRARY_OUTPUT_PATH not defined
+ libOutPath = currdir + "/";
+ }
+ if ( exeOutPath.size() == 0 )
+ {
+ // EXECUTABLE_OUTPUT_PATH not defined
+ exeOutPath = currdir + "/";
+ }
std::string destination;
for(cmTargets::const_iterator l = tgts.begin();