Go to file
Joerg Bornemann c269d8f086 CMake: Fix the re-computed value of INSTALL_*DIR variables
For INSTALL_*DIR variables that have the the same value as
CMAKE_INSTALL_PREFIX, a second cmake run cleared the value. This is
because file(RELATIVE_PATH) returns the empty string if we pass the same
absolute paths.

Fix this by checking the return value of file(RELATIVE_PATH) for the
empty string and setting it to ".".

It's a limitation of qmake that empty strings are not handled as ".".

Change-Id: I8fc4d1eabcc9d5634be2f3741b0002a347dd17e6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-03-25 11:16:48 +01:00
bin CMake: Provide script to configure and build one or more tests 2020-03-23 09:54:48 +01:00
cmake CMake: Fix the re-computed value of INSTALL_*DIR variables 2020-03-25 11:16:48 +01:00
coin CMake: Pass --verbose flag to ninja 2020-03-13 19:14:59 +01:00
config.tests CMake: Port the 'separate_debug_info' feature 2020-03-06 13:38:37 +01:00
dist
doc Merge remote-tracking branch 'origin/5.15' into dev 2020-03-04 14:39:18 +00:00
examples Re-generate various CMake projects and configure after merge 2020-03-16 20:43:56 +01:00
lib
mkspecs Merge remote-tracking branch 'origin/5.15' into dev 2020-03-11 15:34:21 +01:00
qmake Re-generate various CMake projects and configure after merge 2020-03-16 20:43:56 +01:00
src CMake: Fix configuration of FEATURE_JPEG 2020-03-25 10:51:55 +01:00
tests Get rid of QRegExp usage in rcc 2020-03-25 09:34:37 +01:00
util CMake: Fix configuration of FEATURE_JPEG 2020-03-25 10:51:55 +01:00
.gitattributes
.gitignore
.qmake.conf
.tag
CMakeLists.txt CMake: Fix auto-detection of precompiled header support 2020-03-25 10:46:46 +01:00
config_help.txt Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
configure
configure.bat
configure.cmake CMake: "Port" the c89, c99 and c11 features 2020-03-23 16:42:59 +01:00
configure.json CMake: Port the 'separate_debug_info' feature 2020-03-06 13:38:37 +01:00
configure.pri Android: Increase minimum API level to Android-23 / Android 6 2020-03-04 08:28:04 +01:00
dependencies.yaml
header.BSD
header.COMM
header.FDL
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL3
header.LGPL3-COMM
header.LGPL-NOGPL2
header.LGPL-ONLY
header.MIT
INSTALL
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT
qtbase.pro
sync.profile