mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-26 08:00:05 -05: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:
1 parent
d865b14958
commit
b79c9d150f
1 file changed
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user