2016-08-12 21:48:48 +02:00
|
|
|
Index: VTK-7.0.0/Filters/StatisticsGnuR/CMakeLists.txt
|
2016-02-21 13:14:22 +01:00
|
|
|
===================================================================
|
2016-08-12 21:48:48 +02:00
|
|
|
--- VTK-7.0.0.orig/Filters/StatisticsGnuR/CMakeLists.txt
|
|
|
|
+++ VTK-7.0.0/Filters/StatisticsGnuR/CMakeLists.txt
|
|
|
|
@@ -16,6 +16,10 @@ include_directories(${R_INCLUDE_DIR})
|
2016-02-21 13:14:22 +01:00
|
|
|
|
2016-08-12 21:48:48 +02:00
|
|
|
add_definitions(-DVTK_BUILDING_FILTERS_STATISTICSGNUR)
|
2016-02-21 13:14:22 +01:00
|
|
|
|
2016-08-12 21:48:48 +02:00
|
|
|
+# Check for the existance of uintptr_t type and set the HAVE_UINTPTR_T macro
|
|
|
|
+include(CheckTypeSize)
|
|
|
|
+CHECK_TYPE_SIZE(uintptr_t UINTPTR_T)
|
2016-02-21 13:14:22 +01:00
|
|
|
+
|
2016-08-12 21:48:48 +02:00
|
|
|
# Configure the module specific settings into a module configured header.
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/vtkFiltersStatisticsGnuRConfigure.h.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/vtkFiltersStatisticsGnuRConfigure.h)
|
|
|
|
Index: VTK-7.0.0/Filters/StatisticsGnuR/vtkFiltersStatisticsGnuRConfigure.h.in
|
|
|
|
===================================================================
|
|
|
|
--- VTK-7.0.0.orig/Filters/StatisticsGnuR/vtkFiltersStatisticsGnuRConfigure.h.in
|
|
|
|
+++ VTK-7.0.0/Filters/StatisticsGnuR/vtkFiltersStatisticsGnuRConfigure.h.in
|
|
|
|
@@ -17,5 +17,6 @@
|
|
|
|
#define vtkFiltersStatisticsGnuRConfigure_h
|
|
|
|
|
|
|
|
#define VTK_R_HOME "@R_HOME@"
|
|
|
|
+#cmakedefine HAVE_UINTPTR_T
|
2016-02-21 13:14:22 +01:00
|
|
|
|
2016-08-12 21:48:48 +02:00
|
|
|
#endif
|