From f240aee5c573d1987208a6e211cb38aacc77b724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 7 Jan 2021 18:42:14 +0100 Subject: Add an option to install the imagetops binary. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This binary may already be included in the system - for example in the netpbm package. Signed-off-by: Slávek Banko (cherry picked from commit f6aced3def110bab4ebd10e4b4684c52d29fc767) --- tdeprint/filters/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tdeprint') 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() -- cgit v1.2.3