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