diff options
author | Slávek Banko <[email protected]> | 2021-01-07 18:42:14 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-01-07 18:42:14 +0100 |
commit | f6aced3def110bab4ebd10e4b4684c52d29fc767 (patch) | |
tree | c2697f5fdc8db4a6dec07c4725aaaf6d02a8fe2d | |
parent | 3d3e77773df70317267c2d471c37e9374256590d (diff) | |
download | tdelibs-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 <[email protected]>
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | tdeprint/filters/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index aaadecb72..bd935bf0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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_SSL "Enable support for SSL" 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_TIFF "Enable tiff support" ${WITH_ALL_OPTIONS} ) OPTION( WITH_JASPER "Enable jasper (jpeg2k) support" ${WITH_ALL_OPTIONS} ) 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() |