build: use GNUInstallDirs where possible
Some installation destinations were already converted to the
GNUInstallDirs standard in e3cf4d0cf
. This patch converts the share and
include directories (typically /usr/share and /usr/include respectively)
as well.
Type: improvement
Change-Id: Id481b16604f3f52203166a5c0647f43d6eb05239
Signed-off-by: Wim de With <wf@dewith.io>
This commit is contained in:

committed by
Damjan Marion

parent
a447c66e55
commit
f521df7200
@ -18,7 +18,7 @@ if(VPP_BUILD_APPIMAGE)
|
||||
WORLD_READ WORLD_EXECUTE)
|
||||
install(FILES vpp.desktop DESTINATION .)
|
||||
install(FILES vpp.png DESTINATION .)
|
||||
install(FILES vpp.svg DESTINATION share/icons/hicolor/scalable/vpp.svg)
|
||||
install(FILES vpp.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/vpp.svg)
|
||||
install(CODE "EXECUTE_PROCESS(COMMAND ln -s . ./usr
|
||||
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})")
|
||||
install(CODE "EXECUTE_PROCESS(
|
||||
|
Reference in New Issue
Block a user