From: Mickael Savinaud Date: Sun, 17 Mar 2013 17:08:12 +0000 (+0000) Subject: [trunk] use OPJ_ prefix on HAVE variable also for tests X-Git-Tag: version.2.0.1~4^2~286 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07e6994be1b903b0481008f1cee01b4ad530bb31;p=openjpeg [trunk] use OPJ_ prefix on HAVE variable also for tests --- 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()