summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2015-09-15 18:21:07 +0200
committerAntonin Descampe <antonin@gmail.com>2015-09-15 18:21:07 +0200
commitd0e85b0c52f83e9509858fcb34a59e25a6bbe35c (patch)
tree38543a70e514f0ff56b988360ec6633ac3ec3de5
parent31e35fcf7b1023335d4658d65d4a75be83bae0fb (diff)
fixed typo in CMakeLists.txt preventing use of libpng
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index feee0835..cc264063 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -56,7 +56,7 @@ endif()
add_executable(compare_dump_files ${compare_dump_files_SRCS})
# No image send to the dashboard if lib PNG is not available.
-if(NOT OPJ_HAVE_LIBPNG)
+if(NOT HAVE_LIBPNG)
message(WARNING "Lib PNG seems to be not available: if you want run the non-regression tests with images reported to the dashboard, you need it (try BUILD_THIRDPARTY)")
endif()