]> git.lyx.org Git - features.git/blobdiff - development/cmake/Install.cmake
Cmake build: Do not install .pdf icons created by export
[features.git] / development / cmake / Install.cmake
index 15cf703480699807c7ec435aa084d2d628e1ca26..7b764962a3e42b55ad0a3b947b75a7cc379259a1 100755 (executable)
@@ -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   .)