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-07 18:42:14 +0100
commitf6aced3def110bab4ebd10e4b4684c52d29fc767 (patch)
treec2697f5fdc8db4a6dec07c4725aaaf6d02a8fe2d /tdeprint
parent3d3e77773df70317267c2d471c37e9374256590d (diff)
downloadtdelibs-f6aced3def110bab4ebd10e4b4684c52d29fc767.tar.gz
tdelibs-f6aced3def110bab4ebd10e4b4684c52d29fc767.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>
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()