diff options
| author | mayeut <mayeut@users.noreply.github.com> | 2015-07-04 17:33:28 +0200 |
|---|---|---|
| committer | mayeut <mayeut@users.noreply.github.com> | 2015-07-04 17:33:28 +0200 |
| commit | 35ddb3abc7def59d4049ea3fb0cba160800980a1 (patch) | |
| tree | 9ca4bcba5294838cecc5b9f23c9dfc269b37ad2d /cmake/TestLargeFiles.cmake | |
| parent | 237ddd72f15fffe26e446604b2019604d9ae5211 (diff) | |
Fix CMake warning when testing for LFS
Update issue #442
Diffstat (limited to 'cmake/TestLargeFiles.cmake')
| -rw-r--r-- | cmake/TestLargeFiles.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
