Skip to content

Commit

Permalink
[KDEInstallDirs] Port away from deprecated variable names and always …
Browse files Browse the repository at this point in the history
…install our carddeck
  • Loading branch information
Benni committed Aug 5, 2024
1 parent 834168f commit 63db7dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,8 @@ add_subdirectory(icons)
# add install target:
GETTEXT_PROCESS_PO_FILES(de ALL INSTALL_DESTINATION ${LOCALE_INSTALL_DIR} po/de/schafkopf.po)

set(INSTALL_OPEN_TAROCK OFF CACHE BOOL "Install the OpenTarock card deck")
set(CARDDECK_DIRECTORY ${DATA_INSTALL_DIR}/carddecks CACHE PATH "The directories for carddeck installation.")
if(INSTALL_OPEN_TAROCK)
install(DIRECTORY carddecks/svg-open-tarock DESTINATION ${CARDDECK_DIRECTORY})
endif(INSTALL_OPEN_TAROCK)
set(CARDDECK_DIRECTORY ${KDE_INSTALL_FULL_DATADIR}/carddecks CACHE PATH "The directory for carddeck installation.")
install(DIRECTORY carddecks/svg-open-tarock DESTINATION ${CARDDECK_DIRECTORY})

set(CPACK_GENERATOR "DEB")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Benni")
Expand Down
2 changes: 1 addition & 1 deletion icons/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ set(schafkopf_icons
)

ecm_install_icons(ICONS ${schafkopf_icons}
DESTINATION ${ICON_INSTALL_DIR}
DESTINATION ${KDE_INSTALL_FULL_ICONDIR}
)

0 comments on commit 63db7dc

Please sign in to comment.