Fix CMake icon install to work on older version

Fixes https://gitlab.com/kicad/code/kicad/issues/7182
This commit is contained in:
Ian McInerney 2021-01-19 15:49:58 +00:00
parent 06dec36625
commit feb15aa55d
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ elseif( UNIX )
# Install icons
install( DIRECTORY ${PROJECT_SOURCE_DIR}/resources/linux/icons
TYPE DATA
install( DIRECTORY ${PROJECT_SOURCE_DIR}/resources/linux/icons/
DESTINATION ${CMAKE_INSTALL_DATADIR}/icons
COMPONENT resources
)