aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMInstallIcons.cmake
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-04-16 14:28:56 +0100
committerAlex Merry <alex.merry@kde.org>2014-04-25 10:36:14 +0100
commit23829defe0455cf57518ee29fee2988054ed51b7 (patch)
tree8be6345b79e125945e97aea22f8174c71be23a6d /modules/ECMInstallIcons.cmake
parent283aeda90db966de58f3c3ecdc1ce64f44ab849b (diff)
downloadextra-cmake-modules-23829defe0455cf57518ee29fee2988054ed51b7.tar.gz
extra-cmake-modules-23829defe0455cf57518ee29fee2988054ed51b7.tar.bz2
ECMGeneratePriFile: Allow lib and include install dirs to be overridden
Rather than blindly using ${LIB_INSTALL_DIR} and ${INCLUDE_INSTALL_DIR} (which assume the inclusion of KDEInstallDirs), this checks whether they exist, also checks for ${CMAKE_INSTALL_LIBDIR} and ${CMAKE_INSTALL_INCLUDEDIR} (set by GNUInstallDirs), provides hard-coded defaults and allows arguments to be used to override the values. This should make it useful to projects that aren't KDE Frameworks. REVIEW: 117593
Diffstat (limited to 'modules/ECMInstallIcons.cmake')
0 files changed, 0 insertions, 0 deletions