]> granicus.if.org Git - openjpeg/commitdiff
[trunk] use OPJ_ prefix on HAVE variable also for tests
authorMickael Savinaud <savmickael@users.noreply.github.com>
Sun, 17 Mar 2013 17:08:12 +0000 (17:08 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Sun, 17 Mar 2013 17:08:12 +0000 (17:08 +0000)
tests/CMakeLists.txt

index 5d4f5454874765848a63e68764f26e928ef4a5f4..74555dc70a8b231565f0409c99a15f7ac983c178 100644 (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()