summaryrefslogtreecommitdiff
path: root/libopenjpeg
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-02 07:43:12 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-02 07:43:12 +0000
commit75175b715c1f53843237805995939cad69b649e4 (patch)
tree0a9a8c4f96c993176d63945858bac9e763d376d5 /libopenjpeg
parent46831582b28e10b0d99d107221212eff4e847078 (diff)
[1.5] Build small internal tools to generate t1_luts.h
Diffstat (limited to 'libopenjpeg')
-rw-r--r--libopenjpeg/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/libopenjpeg/CMakeLists.txt b/libopenjpeg/CMakeLists.txt
index 31498830..63d19ce7 100644
--- a/libopenjpeg/CMakeLists.txt
+++ b/libopenjpeg/CMakeLists.txt
@@ -62,3 +62,10 @@ INSTALL(FILES openjpeg.h
INSTALL(
FILES ${OPENJPEG_SOURCE_DIR}/doc/man/man3/libopenjpeg.3
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man3)
+
+# internal utilities to generate t1_luts.h
+# no need to install:
+ADD_EXECUTABLE(t1_generate_luts t1_generate_luts.c)
+IF(UNIX)
+ TARGET_LINK_LIBRARIES(t1_generate_luts m)
+ENDIF()