summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-07-22 14:26:57 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-07-22 14:26:57 +0000
commit06363c01e4beb4e5a046554ebbcf774dfa45bfb5 (patch)
tree398ad9cca1b4fb241c408b3d42cbb6ad26a2e412 /tests
parentec398229b12ec32774c7b7d19f93431c7f1de7cb (diff)
correct some troubles about thirdparty when they are used
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 858befb4..003f2f17 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -3,6 +3,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE_DIRECTORIES(${OPENJPEG_SOURCE_DIR}/libopenjpeg
${OPENJPEG_SOURCE_DIR}/applications/codec
${OPENJPEG_SOURCE_DIR}/applications/common
+ ${Z_INCLUDE_DIRNAME}
+ ${PNG_INCLUDE_DIRNAME}
+ ${TIFF_INCLUDE_DIRNAME}
)
# First thing define the common source:
@@ -19,9 +22,10 @@ ENDIF(DONT_HAVE_GETOPT)
ADD_EXECUTABLE(comparePGXimages ${comparePGXimages_SRCS})
TARGET_LINK_LIBRARIES(comparePGXimages ${OPENJPEG_LIBRARY_NAME}
- ${PNG_LIBNAME}
- ${TIFF_LIBNAME}
- )
+ ${Z_LIBNAME}
+ ${PNG_LIBNAME}
+ ${TIFF_LIBNAME}
+ )
# No image send to the dashboard if lib PNG is not available.
IF(NOT HAVE_LIBPNG)