From d0e85b0c52f83e9509858fcb34a59e25a6bbe35c Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Tue, 15 Sep 2015 18:21:07 +0200 Subject: [PATCH] fixed typo in CMakeLists.txt preventing use of libpng --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()