diff options
Diffstat (limited to 'test/pdiff/CMakeLists.txt')
-rw-r--r-- | test/pdiff/CMakeLists.txt | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/test/pdiff/CMakeLists.txt b/test/pdiff/CMakeLists.txt deleted file mode 100644 index 6e4fa7a8a..000000000 --- a/test/pdiff/CMakeLists.txt +++ /dev/null @@ -1,55 +0,0 @@ -PROJECT (PerceptualDiff) -SET(DIFF_SRC PerceptualDiff.cpp LPyramid.cpp RGBAImage.cpp -CompareArgs.cpp Metric.cpp) - -ADD_EXECUTABLE (perceptualdiff ${DIFF_SRC}) - -# look for libtiff -FIND_PATH(TIFF_INCLUDE_DIR tiff.h - /usr/local/include - /usr/include - /opt/local/include -) - -FIND_LIBRARY(TIFF_LIBRARY tiff - /usr/lib - /usr/local/lib - /opt/local/lib -) - -IF(TIFF_INCLUDE_DIR) - IF(TIFF_LIBRARY) - SET( TIFF_FOUND "YES" ) - SET( TIFF_LIBRARIES ${TIFF_LIBRARY} ) - ENDIF(TIFF_LIBRARY) -ENDIF(TIFF_INCLUDE_DIR) - -IF(TIFF_FOUND) - INCLUDE_DIRECTORIES(${TIFF_INCLUDE_DIR}) - TARGET_LINK_LIBRARIES(perceptualdiff ${TIFF_LIBRARY}) -ENDIF(TIFF_FOUND) - -# look for libpng -FIND_PATH(PNG_INCLUDE_DIR png.h - /usr/local/include - /usr/include - /opt/local/include -) - -FIND_LIBRARY(PNG_LIBRARY png - /usr/lib - /usr/local/lib - /opt/local/lib -) - -IF(PNG_INCLUDE_DIR) - IF(PNG_LIBRARY) - SET( PNG_FOUND "YES" ) - SET( PNG_LIBRARIES ${PNG_LIBRARY} ) - ENDIF(PNG_LIBRARY) -ENDIF(PNG_INCLUDE_DIR) - -IF(PNG_FOUND) - INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR}) - TARGET_LINK_LIBRARIES(perceptualdiff ${PNG_LIBRARY}) -ENDIF(PNG_FOUND)
\ No newline at end of file |