Index: core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/CMakeLists.txt |
diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/CMakeLists.txt b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/CMakeLists.txt |
index 5c87f29771cecb3710ed50feaaf7137d83f503f9..fcf60ecf01b77bd1f6aafc0f7aa654252ba2b4fe 100644 |
--- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/CMakeLists.txt |
+++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/CMakeLists.txt |
@@ -68,10 +68,12 @@ install(FILES openjpeg.h opj_stdint.h |
DESTINATION ${OPENJPEG_INSTALL_INCLUDE_DIR} COMPONENT Headers |
) |
+if(BUILD_DOC) |
# install man page of the library |
install( |
FILES ${OPENJPEG_SOURCE_DIR}/doc/man/man3/libopenjp2.3 |
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man3) |
+endif() |
# internal utilities to generate t1_luts.h (part of the jp2 lib) |
# no need to install: |