summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2014-04-28 07:34:26 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2014-04-28 07:34:26 +0000
commit997758f91cfc2620ce23dba009ddb38fe4ff2257 (patch)
tree8bc12c73f171fa5fd05eabcc6273f21321654412 /src/lib
parent763214f7c09ab4848c4e485c7c1a431703804bc7 (diff)
[trunk] properly handle pkg-config on non-UNIX hosts
Fixes issue 340
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjp2/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.txt
index 5c87f297..fcf60ecf 100644
--- a/src/lib/openjp2/CMakeLists.txt
+++ b/src/lib/openjp2/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: