From 35ddb3abc7def59d4049ea3fb0cba160800980a1 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 4 Jul 2015 17:33:28 +0200 Subject: [PATCH] Fix CMake warning when testing for LFS Update issue #442 --- cmake/TestLargeFiles.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/TestLargeFiles.cmake b/cmake/TestLargeFiles.cmake index 7960e52c..01e4ea70 100644 --- a/cmake/TestLargeFiles.cmake +++ b/cmake/TestLargeFiles.cmake @@ -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