[2.0] Backport from trunk
Make sure to have a non empty list
This commit is contained in:
parent
f776cffbc6
commit
d7c5c8518f
|
@ -376,7 +376,9 @@ foreach(f ${OPJ_DATA_NR_LIST})
|
||||||
get_filename_component(ff ${f} NAME)
|
get_filename_component(ff ${f} NAME)
|
||||||
list(APPEND existing_filenames ${ff})
|
list(APPEND existing_filenames ${ff})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
if(existing_filenames)
|
||||||
list(REMOVE_ITEM existing_filenames ${nonregression_filenames_used})
|
list(REMOVE_ITEM existing_filenames ${nonregression_filenames_used})
|
||||||
|
endif()
|
||||||
|
|
||||||
# keep track of new addition:
|
# keep track of new addition:
|
||||||
# if we reach here, then a J2K files was added but no test is present in
|
# if we reach here, then a J2K files was added but no test is present in
|
||||||
|
|
Loading…
Reference in New Issue