From: Kornel Benko Date: Wed, 1 Apr 2015 15:26:13 +0000 (+0200) Subject: Cmake build: Do not install .pdf icons created by export X-Git-Tag: 2.2.0alpha1~1070 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=390b59011d6d98fb2fdc6afce476b99ea3134366;p=features.git Cmake build: Do not install .pdf icons created by export Such files are polluting the lib/images directory if exporting lyx-files containing lyx-info of type icon. --- diff --git a/development/cmake/Install.cmake b/development/cmake/Install.cmake index 15cf703480..7b764962a3 100755 --- a/development/cmake/Install.cmake +++ b/development/cmake/Install.cmake @@ -89,8 +89,10 @@ lyx_install(${TOP_SRC_DIR}/lib doc/${_all_languages} * clipart) lyx_install(${TOP_SRC_DIR}/lib examples * . ${_all_languages} springer thesis) lyx_install(${TOP_SRC_DIR}/lib fonts * .) -lyx_install(${TOP_SRC_DIR}/lib images * . ipa commands attic classic oxygen) -lyx_install(${TOP_SRC_DIR}/lib images/math * . oxygen) +foreach(_imgext "png" "svgz" "gif" "xpm") + lyx_install(${TOP_SRC_DIR}/lib images "*.${_imgext}" . ipa commands attic classic oxygen) + lyx_install(${TOP_SRC_DIR}/lib images/math "*.${_imgext}" . oxygen) +endforeach() lyx_install(${TOP_SRC_DIR}/lib kbd * .) lyx_install(${TOP_SRC_DIR}/lib layouts * .) lyx_install(${TOP_SRC_DIR}/lib lyx2lyx *.py .)