summaryrefslogtreecommitdiffstats
path: root/tdeprint
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-01-08 02:28:22 +0100
commitf240aee5c573d1987208a6e211cb38aacc77b724 (patch)
tree870ab3af38a4e535515ceedabea3a8a5125e5832 /tdeprint
parent598f5df0fb4c85a929535eeccfe66e3a2b4c457f (diff)
downloadtdelibs-f240aee5c573d1987208a6e211cb38aacc77b724.tar.gz
tdelibs-f240aee5c573d1987208a6e211cb38aacc77b724.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 'tdeprint')
-rw-r--r--tdeprint/filters/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdeprint/filters/CMakeLists.txt b/tdeprint/filters/CMakeLists.txt
index 3915eee6c..74d9a04a5 100644
--- a/tdeprint/filters/CMakeLists.txt
+++ b/tdeprint/filters/CMakeLists.txt
@@ -34,4 +34,6 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters
)
-install( PROGRAMS imagetops DESTINATION ${BIN_INSTALL_DIR} )
+if( WITH_IMAGETOPS_BINARY )
+ install( PROGRAMS imagetops DESTINATION ${BIN_INSTALL_DIR} )
+endif()