You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
943 B
21 lines
943 B
9 years ago
|
diff -Naur VTK.orig/Utilities/vtkhdf5/ConfigureChecks.cmake VTK/Utilities/vtkhdf5/ConfigureChecks.cmake
|
||
|
--- VTK.orig/Utilities/vtkhdf5/ConfigureChecks.cmake 2011-08-24 15:37:13.000000000 +0200
|
||
|
+++ VTK/Utilities/vtkhdf5/ConfigureChecks.cmake 2013-09-03 00:08:19.649484717 +0200
|
||
|
@@ -75,14 +75,14 @@
|
||
|
ENDIF (HDF5_WANT_DCONV_EXCEPTION)
|
||
|
|
||
|
SET (LINUX_LFS 0)
|
||
|
-IF (CMAKE_SYSTEM MATCHES "Linux-([3-9]\\.[0-9]|2\\.[4-9])\\.")
|
||
|
+IF (CMAKE_SYSTEM MATCHES "Linux")
|
||
|
# Linux Specific flags
|
||
|
ADD_DEFINITIONS (-D_POSIX_SOURCE -D_BSD_SOURCE)
|
||
|
OPTION (HDF5_ENABLE_LARGE_FILE "Enable support for large (64-bit) files on Linux." ON)
|
||
|
IF (HDF5_ENABLE_LARGE_FILE)
|
||
|
SET (LARGEFILE 1)
|
||
|
ENDIF (HDF5_ENABLE_LARGE_FILE)
|
||
|
-ENDIF (CMAKE_SYSTEM MATCHES "Linux-([3-9]\\.[0-9]|2\\.[4-9])\\.")
|
||
|
+ENDIF (CMAKE_SYSTEM MATCHES "Linux")
|
||
|
SET (HDF5_EXTRA_FLAGS)
|
||
|
IF (LINUX_LFS)
|
||
|
SET (HDF5_EXTRA_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE)
|