Update knownfailures- files given current configurations
[openjpeg.git] / cmake / TestLargeFiles.cmake
index 7960e52c5ca105234207e0e517b5a099316be821..01e4ea70f77b0d26e751226aa9a8a0e68f893e80 100644 (file)
@@ -17,7 +17,7 @@
 #
 
 macro(OPJ_TEST_LARGE_FILES VARIABLE)
-    if("${VARIABLE}" MATCHES "^${VARIABLE}$")
+    if(NOT DEFINED ${VARIABLE})
 
         # On most platforms it is probably overkill to first test the flags for 64-bit off_t,
         # and then separately fseeko. However, in the future we might have 128-bit filesystems