[trunk] use OPJ_ prefix on HAVE variable also for tests
This commit is contained in:
parent
0abf4f8fbb
commit
07e6994be1
|
@ -80,7 +80,7 @@ add_test(rta5 ${EXECUTABLE_OUTPUT_PATH}/j2k_random_tile_access tte5.j2k)
|
||||||
set_property(TEST rta5 APPEND PROPERTY DEPENDS tte5)
|
set_property(TEST rta5 APPEND PROPERTY DEPENDS tte5)
|
||||||
|
|
||||||
# No image send to the dashboard if lib PNG is not available.
|
# 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)")
|
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()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue