parent
92478967d6
commit
559249fc3e
@ -1,18 +0,0 @@
|
||||
--- a/Modules/FindQt4.cmake
|
||||
+++ b/Modules/FindQt4.cmake
|
||||
@@ -824,13 +824,13 @@
|
||||
)
|
||||
|
||||
FIND_PROGRAM(QT_LUPDATE_EXECUTABLE
|
||||
- NAMES lupdate
|
||||
+ NAMES lupdate-qt4 lupdate
|
||||
PATHS ${QT_BINARY_DIR}
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
|
||||
FIND_PROGRAM(QT_LRELEASE_EXECUTABLE
|
||||
- NAMES lrelease
|
||||
+ NAMES lrelease-qt4 lrelease
|
||||
PATHS ${QT_BINARY_DIR}
|
||||
NO_DEFAULT_PATH
|
||||
)
|
@ -1,38 +0,0 @@
|
||||
Improved error handling for cmLocalGenerator::Convert().
|
||||
|
||||
Small inconsistency fix for the previous relative_path_fixes.diff patch.
|
||||
--- a/Source/cmLocalGenerator.cxx
|
||||
+++ b/Source/cmLocalGenerator.cxx
|
||||
@@ -2127,25 +2127,17 @@
|
||||
bool optional)
|
||||
{
|
||||
const char* remotePath = this->GetRelativeRootPath(remote);
|
||||
+
|
||||
+ // The relative root must have a path (i.e. not FULL or NONE)
|
||||
+ assert(remotePath != 0);
|
||||
+
|
||||
if(local && (!optional || this->UseRelativePaths))
|
||||
{
|
||||
std::vector<std::string> components;
|
||||
std::string result;
|
||||
- switch(remote)
|
||||
- {
|
||||
- case HOME:
|
||||
- case HOME_OUTPUT:
|
||||
- case START:
|
||||
- case START_OUTPUT:
|
||||
- cmSystemTools::SplitPath(local, components);
|
||||
- result = this->ConvertToRelativePath(components, remotePath);
|
||||
- break;
|
||||
- case FULL:
|
||||
- result = remotePath;
|
||||
- break;
|
||||
- case NONE:
|
||||
- break;
|
||||
- }
|
||||
+
|
||||
+ cmSystemTools::SplitPath(local, components);
|
||||
+ result = this->ConvertToRelativePath(components, remotePath);
|
||||
return this->ConvertToOutputFormat(result.c_str(), output);
|
||||
}
|
||||
else
|
Loading…
Reference in new issue