You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
814 B
21 lines
814 B
cmake_minimum_required(VERSION 2.8) |
|
# include specific modules |
|
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") |
|
|
|
if (WIN32) |
|
set(ICON_INSTALL_DIR "share/icons" ) # The icon install dir (default ${SHARE_INSTALL_PREFIX}/share/icons/) |
|
else (WIN32) |
|
set(SHARE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/share" ) |
|
set(ICON_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/icons" ) |
|
endif(WIN32) |
|
|
|
########### install files ############### |
|
|
|
set( breeze_icon_dirs actions apps categories devices emblems emotes mimetypes places status ) |
|
|
|
|
|
set(BREEZE_INSTALL_DIR ${ICON_INSTALL_DIR}/breeze) |
|
install( DIRECTORY ${breeze_icon_dirs} DESTINATION ${BREEZE_INSTALL_DIR} PATTERN "*.sh" EXCLUDE ) |
|
install( FILES index.theme DESTINATION ${BREEZE_INSTALL_DIR}) |
|
|
|
gtk_update_icon_cache(${BREEZE_INSTALL_DIR})
|
|
|