summaryrefslogtreecommitdiffstats
path: root/kdeprint
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-01-07 18:42:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-02-03 23:09:08 +0100
commit12c5f4430c055b75f9b90eaf57830da3c712b805 (patch)
treec87de2a37dfe66c59b77b1511469064deeece2c3 /kdeprint
parente3a83543806f2ac4bad20f2cb6b82ef39c6c0f2c (diff)
downloadtdelibs-12c5f4430c055b75f9b90eaf57830da3c712b805.tar.gz
tdelibs-12c5f4430c055b75f9b90eaf57830da3c712b805.zip
Add an option to install the imagetops binary.
This binary may already be included in the system - for example in the netpbm package. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f6aced3def110bab4ebd10e4b4684c52d29fc767)
Diffstat (limited to 'kdeprint')
-rw-r--r--kdeprint/filters/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/kdeprint/filters/CMakeLists.txt b/kdeprint/filters/CMakeLists.txt
index a19bb1f93..731308d84 100644
--- a/kdeprint/filters/CMakeLists.txt
+++ b/kdeprint/filters/CMakeLists.txt
@@ -20,4 +20,6 @@ install( FILES
pdf2ps.xml poster.desktop poster.xml
DESTINATION ${DATA_INSTALL_DIR}/kdeprint/filters )
-install( PROGRAMS imagetops DESTINATION ${BIN_INSTALL_DIR} )
+if( WITH_IMAGETOPS_BINARY )
+ install( PROGRAMS imagetops DESTINATION ${BIN_INSTALL_DIR} )
+endif()