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>
pull/117/head
Slávek Banko 4 years ago
parent 3d3e77773d
commit f6aced3def
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} )

@ -34,4 +34,6 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters 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()

Loading…
Cancel
Save