Adjust icon installation regex a bit more

This will only exclude apps and actions if they are directories.
This commit is contained in:
Geert Janssens 2018-07-04 17:50:50 +02:00
parent b79c9d150f
commit 3d4201f172

View File

@ -16,22 +16,22 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}
)
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION ${CMAKE_INSTALL_DATADIR}/gnucash/icons
REGEX "hicolor/.*/apps.*" EXCLUDE
REGEX "hicolor/.*/apps/.*" EXCLUDE
)
file(
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
DESTINATION ${DATADIR_BUILD}/gnucash/icons
REGEX "hicolor/.*/apps.*" EXCLUDE
REGEX "hicolor/.*/apps/.*" EXCLUDE
)
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION ${CMAKE_INSTALL_DATADIR}/icons
REGEX "hicolor/.*/actions.*" EXCLUDE
REGEX "hicolor/.*/actions/.*" EXCLUDE
)
file(
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
DESTINATION ${DATADIR_BUILD}/icons
REGEX "hicolor/.*/actions.*" EXCLUDE
REGEX "hicolor/.*/actions/.*" EXCLUDE
)
set(gncpixmap_DATA