diff options
author | Roger Leigh <rleigh@codelibre.net> | 2021-01-01 21:45:00 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2021-01-01 22:24:01 +0000 |
commit | d730cb33db227775c963402b885d1f242c0d508b (patch) | |
tree | 8f60a4a3274a980b1b6c9a9eab501b510eb3a7c4 | |
parent | f2bc2e9d6b34d1f70ad2d48237a21dfdcfaed9c8 (diff) | |
download | libtiff-git-d730cb33db227775c963402b885d1f242c0d508b.tar.gz |
cmake: Add faxtable and mkg3states targets
-rw-r--r-- | libtiff/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libtiff/CMakeLists.txt b/libtiff/CMakeLists.txt index 080685db..c4082829 100644 --- a/libtiff/CMakeLists.txt +++ b/libtiff/CMakeLists.txt @@ -167,3 +167,12 @@ if(CXX_SUPPORT) DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}") endif() + +add_executable(mkg3states mkg3states.c tif_fax3.h) +target_link_libraries(mkg3states tiff port) + +add_custom_target(faxtable + DEPENDS mkg3states + COMMAND ${CMAKE_COMMAND} -E rm "tif_fax3sm.c" + COMMAND mkg3states -b -c const "tif_fax3sm.c" + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}") |