mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use a more specific regex to install icons
The generic regex could exclude too much if the source directory is a descendant of a directory called actions or apps. Discoverd by Colin Law.
This commit is contained in:
parent
d865b14958
commit
b79c9d150f
@ -16,22 +16,22 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
install(
|
||||
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION ${CMAKE_INSTALL_DATADIR}/gnucash/icons
|
||||
REGEX ".*/apps.*" EXCLUDE
|
||||
REGEX "hicolor/.*/apps.*" EXCLUDE
|
||||
)
|
||||
file(
|
||||
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
|
||||
DESTINATION ${DATADIR_BUILD}/gnucash/icons
|
||||
REGEX ".*/apps.*" EXCLUDE
|
||||
REGEX "hicolor/.*/apps.*" EXCLUDE
|
||||
)
|
||||
|
||||
install(
|
||||
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION ${CMAKE_INSTALL_DATADIR}/icons
|
||||
REGEX ".*/actions.*" EXCLUDE
|
||||
REGEX "hicolor/.*/actions.*" EXCLUDE
|
||||
)
|
||||
file(
|
||||
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
|
||||
DESTINATION ${DATADIR_BUILD}/icons
|
||||
REGEX ".*/actions.*" EXCLUDE
|
||||
REGEX "hicolor/.*/actions.*" EXCLUDE
|
||||
)
|
||||
|
||||
set(gncpixmap_DATA
|
||||
|
Loading…
Reference in New Issue
Block a user