[trunk] use OPJ_ prefix on HAVE variable also for tests

This commit is contained in:
Mickael Savinaud 2013-03-17 17:08:12 +00:00
parent 0abf4f8fbb
commit 07e6994be1
1 changed files with 1 additions and 1 deletions

View File

@ -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()