set(DECOMPRESS_TARGET ${TARGET})
endif()
-if(NOT INPUT OR NOT COMPRESS_TARGET OR NOT DECOMPRESS_TARGET)
+if(NOT DEFINED INPUT OR NOT DEFINED COMPRESS_TARGET OR NOT DEFINED DECOMPRESS_TARGET)
message(FATAL_ERROR "Compress test arguments missing")
endif()
# Set default values
-if(NOT COMPRESS_ARGS)
+if(NOT DEFINED COMPRESS_ARGS)
set(COMPRESS_ARGS -c -k)
endif()
-if(NOT DECOMPRESS_ARGS)
+if(NOT DEFINED DECOMPRESS_ARGS)
set(DECOMPRESS_ARGS -d -c)
endif()
-if(NOT GZIP_VERIFY)
+if(NOT DEFINED GZIP_VERIFY)
set(GZIP_VERIFY ON)
endif()
-if(NOT SUCCESS_EXIT)
+if(NOT DEFINED SUCCESS_EXIT)
set(SUCCESS_EXIT 0)
endif()