[trunk] Build small internal tools to generate t1_luts.h
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 2 Oct 2012 07:45:49 +0000 (07:45 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Tue, 2 Oct 2012 07:45:49 +0000 (07:45 +0000)
src/lib/openjp2/CMakeLists.txt

index 79ab16de99c2ad163747b817afed2e31aaa95da6..a4347c63c3f33d9429e438580a5a74d3fdd896eb 100644 (file)
@@ -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