Fix CMake warning when testing for LFS

Update issue #442
This commit is contained in:
mayeut 2015-07-04 17:33:28 +02:00
parent 237ddd72f1
commit 35ddb3abc7
1 changed files with 1 additions and 1 deletions

View 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