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 f6aced3def)
v3.5.13-sru
Slávek Banko 4 years ago
parent e3a8354380
commit 12c5f4430c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -75,6 +75,7 @@ OPTION( WITH_LIBART "Enable libart support (for SVG icons)" ${WITH_ALL_OPTIONS}
OPTION( WITH_LIBIDN "Enable support for libidn" ${WITH_ALL_OPTIONS} ) OPTION( WITH_LIBIDN "Enable support for libidn" ${WITH_ALL_OPTIONS} )
OPTION( WITH_SSL "Enable support for SSL" ON ) OPTION( WITH_SSL "Enable support for SSL" ON )
OPTION( WITH_CUPS "Enable CUPS support" ON ) OPTION( WITH_CUPS "Enable CUPS support" ON )
OPTION( WITH_IMAGETOPS_BINARY "Enable installation of imagetops binary" ${WITH_ALL_OPTIONS} )
OPTION( WITH_LUA "Enable LUA support" ${WITH_ALL_OPTIONS} ) OPTION( WITH_LUA "Enable LUA support" ${WITH_ALL_OPTIONS} )
OPTION( WITH_TIFF "Enable tiff support" ${WITH_ALL_OPTIONS} ) OPTION( WITH_TIFF "Enable tiff support" ${WITH_ALL_OPTIONS} )
OPTION( WITH_JASPER "Enable jasper (jpeg2k) support" ${WITH_ALL_OPTIONS} ) OPTION( WITH_JASPER "Enable jasper (jpeg2k) support" ${WITH_ALL_OPTIONS} )

@ -20,4 +20,6 @@ install( FILES
pdf2ps.xml poster.desktop poster.xml pdf2ps.xml poster.desktop poster.xml
DESTINATION ${DATA_INSTALL_DIR}/kdeprint/filters ) DESTINATION ${DATA_INSTALL_DIR}/kdeprint/filters )
if( WITH_IMAGETOPS_BINARY )
install( PROGRAMS imagetops DESTINATION ${BIN_INSTALL_DIR} ) install( PROGRAMS imagetops DESTINATION ${BIN_INSTALL_DIR} )
endif()

Loading…
Cancel
Save