diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2012-06-05 22:26:43 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2012-06-05 22:26:43 +0400 |
commit | ef88a02024b2eb3c1bde35bf66bf1c2e0c5facaf (patch) | |
tree | 2d14edd77f8f655dd5850e5106b7a5777c5402e2 /CMakeLists.txt | |
parent | 00a147b127794449e09e72b8b403acb5bf084af8 (diff) |
Finally added PGM/PPM read/write
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ce26ea..d8ceb55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,10 @@ FIND_PACKAGE(Torch REQUIRED) FIND_PACKAGE(JPEG QUIET) FIND_PACKAGE(PNG QUIET) +SET(src ppm.c) +ADD_TORCH_PACKAGE(ppm "${src}" "${luasrc}" "Image Processing") +TARGET_LINK_LIBRARIES(ppm luaT TH) + if (JPEG_FOUND) SET(src jpeg.c) include_directories (${JPEG_INCLUDE_DIR}) |