Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/image.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2012-06-05 22:26:43 +0400
committerClement Farabet <clement.farabet@gmail.com>2012-06-05 22:26:43 +0400
commitef88a02024b2eb3c1bde35bf66bf1c2e0c5facaf (patch)
tree2d14edd77f8f655dd5850e5106b7a5777c5402e2 /CMakeLists.txt
parent00a147b127794449e09e72b8b403acb5bf084af8 (diff)
Finally added PGM/PPM read/write
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
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})