Summary: | ECMInstallIcons.cmake may call REMOVE_DUPLICATES(_themes) without checking if _themes is actually set. | ||
---|---|---|---|
Product: | [Frameworks and Libraries] extra-cmake-modules | Reporter: | Brice De Bruyne <bricedb> |
Component: | general | Assignee: | Alex Merry <alex.merry> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ecm-bugs-null |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/extra-cmake-modules/21629f651a6a5d9d977be03fd9f98417c4fa27ae | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | ecm-fix-ECMInstallIcons_cmake-1.patch |
Description
Brice De Bruyne
2015-10-30 18:05:59 UTC
Created attachment 95229 [details]
ecm-fix-ECMInstallIcons_cmake-1.patch
Given that this only happens when ecm_install_icons is called in such a way that it does nothing, I figured it would be better to make it a warning: https://git.reviewboard.kde.org/r/125931/ In the meantime, ksirk can just have that ecm_install_icons call removed, as it is useless. Git commit 21629f651a6a5d9d977be03fd9f98417c4fa27ae by Alex Merry. Committed on 04/11/2015 at 09:40. Pushed by alexmerry into branch 'master'. Warn instead of error if ecm_install_icons finds no icons. The V1 syntax of ecm_install_icons searched for icons by globbing files with a particular naming pattern. If there were no such icons, this used to do nothing, but silently. Commit fb7b8eea7d accidentally made this an error. More sensible would be to make it a warning. REVIEW: 125931 M +8 -4 modules/ECMInstallIcons.cmake M +1 -0 tests/ECMInstallIconsTest/CMakeLists.txt A +1 -0 tests/ECMInstallIconsTest/v1-syntax-no-icons/CMakeLists.txt http://commits.kde.org/extra-cmake-modules/21629f651a6a5d9d977be03fd9f98417c4fa27ae |