summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-02 07:45:49 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-02 07:45:49 +0000
commit514fc720502969dbbcffdfb8749c6e57b65d25e1 (patch)
treef2f97fbdea1ee32f321088c41b42647cf7e5bae4
parent4dba9aed22def5a2c4bef268eecfb3407b6ccc17 (diff)
[trunk] Build small internal tools to generate t1_luts.h
-rw-r--r--src/lib/openjp2/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.txt
index 79ab16de..a4347c63 100644
--- a/src/lib/openjp2/CMakeLists.txt
+++ b/src/lib/openjp2/CMakeLists.txt
@@ -68,6 +68,13 @@ install(
FILES ${OPENJPEG_SOURCE_DIR}/doc/man/man3/libopenjpeg.3
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man3)
+# internal utilities to generate t1_luts.h (part of the jp2 lib)
+# no need to install:
+add_executable(t1_generate_luts t1_generate_luts.c)
+if(UNIX)
+ target_link_libraries(t1_generate_luts m)
+endif()
+
# Experimental option; let's how cppcheck performs
# Implementation details:
# I could not figure out how to easily upload a file to CDash. Instead simply