aboutsummaryrefslogtreecommitdiff
path: root/docs/module/ECMFindModuleHelpers.rst
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2021-02-09 21:28:08 +0000
committerDaan De Meyer <daan.j.demeyer@gmail.com>2021-02-09 21:28:08 +0000
commitfe91d86bf612ed0a9c1fc6cb049d123f4a416312 (patch)
treedf57c46655d7eec7f12c6640ec33263d70512551 /docs/module/ECMFindModuleHelpers.rst
parentcd2f66b9aa12455b914952c5c61518490d0c172d (diff)
downloadextra-cmake-modules-fe91d86bf612ed0a9c1fc6cb049d123f4a416312.tar.gz
extra-cmake-modules-fe91d86bf612ed0a9c1fc6cb049d123f4a416312.tar.bz2
Fix relative path edge case in ECMGeneratePriFile
When the qt install prefix and the qt host data path are the same, CMake's RELATIVE_PATH file path function will return the empty string. This made us accidentally set ECM_MKSPECS_INSTALL_DIR to /mkspecs/modules. Fix this by explicitly checking for the empty string. Once we can depend on CMake 3.20, we can use CMake's builtin function for joining paths instead.
Diffstat (limited to 'docs/module/ECMFindModuleHelpers.rst')
0 files changed, 0 insertions, 0 deletions