mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix cmake's build as installed
That is copy the required icons and images into the respective locations at build time
This commit is contained in:
parent
f3858fcd48
commit
b55a3e7d72
@ -4,15 +4,31 @@ INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION share/gnucash
|
||||
PATTERN CMakeLists.txt EXCLUDE
|
||||
PATTERN hicolor EXCLUDE
|
||||
)
|
||||
FILE(COPY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
DESTINATION ${DATADIR_BUILD}/gnucash
|
||||
PATTERN Makefile.* EXCLUDE
|
||||
PATTERN CMakeLists.txt EXCLUDE
|
||||
PATTERN hicolor EXCLUDE
|
||||
)
|
||||
INSTALL(
|
||||
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION share/gnucash/icons
|
||||
REGEX ".*/apps.*" EXCLUDE
|
||||
)
|
||||
FILE(
|
||||
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
|
||||
DESTINATION ${DATADIR_BUILD}/gnucash/icons
|
||||
REGEX ".*/apps.*" EXCLUDE
|
||||
)
|
||||
|
||||
INSTALL(
|
||||
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION share/icons
|
||||
REGEX ".*/actions.*" EXCLUDE
|
||||
)
|
||||
FILE(
|
||||
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
|
||||
DESTINATION ${DATADIR_BUILD}/icons
|
||||
REGEX ".*/actions.*" EXCLUDE
|
||||
)
|
||||
|
||||
SET(gncpixmap_DATA
|
||||
hicolor/16x16/actions/gnc-account.png
|
||||
|
Loading…
Reference in New Issue
Block a user