summaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2013-03-17 17:08:12 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2013-03-17 17:08:12 +0000
commit07e6994be1b903b0481008f1cee01b4ad530bb31 (patch)
tree551b925848454adbd9dae40513fc5c1979f8081d /tests/CMakeLists.txt
parent0abf4f8fbb1e63f96c4f0c78ae007011cef2f363 (diff)
[trunk] use OPJ_ prefix on HAVE variable also for tests
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 5d4f5454..74555dc7 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -80,7 +80,7 @@ add_test(rta5 ${EXECUTABLE_OUTPUT_PATH}/j2k_random_tile_access tte5.j2k)
set_property(TEST rta5 APPEND PROPERTY DEPENDS tte5)
# No image send to the dashboard if lib PNG is not available.
-if(NOT HAVE_LIBPNG)
+if(NOT OPJ_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()