summaryrefslogtreecommitdiff
path: root/src/bin/jp2/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/jp2/CMakeLists.txt')
-rw-r--r--src/bin/jp2/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt
index 43746317..1c2ef39c 100644
--- a/src/bin/jp2/CMakeLists.txt
+++ b/src/bin/jp2/CMakeLists.txt
@@ -52,6 +52,7 @@ foreach(exe opj_decompress opj_compress opj_dump)
)
endforeach()
+if(BUILD_DOC)
# Install man pages
install(
FILES ${OPENJPEG_SOURCE_DIR}/doc/man/man1/opj_compress.1
@@ -59,3 +60,4 @@ install(
${OPENJPEG_SOURCE_DIR}/doc/man/man1/opj_dump.1
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man1)
#
+endif()