[paraview/f15/master] Add build patch

Orion Poplawski orion at fedoraproject.org
Mon Apr 4 22:09:24 UTC 2011


commit 11fe5ec937b838df3106fb4a99983772b60fa499
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Mon Apr 4 16:09:24 2011 -0600

    Add build patch

 paraview-3.10.0-build.patch |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/paraview-3.10.0-build.patch b/paraview-3.10.0-build.patch
new file mode 100644
index 0000000..389c051
--- /dev/null
+++ b/paraview-3.10.0-build.patch
@@ -0,0 +1,31 @@
+From: David Partyka <david.partyka at kitware.com>
+Date: Sun, 13 Mar 2011 16:02:48 +0000 (-0400)
+Subject: Properly Export pqApplicationComponents.
+X-Git-Url: http://paraview.org/gitweb?p=ParaView.git;a=commitdiff_plain;h=9bed3f26be47c8088556ba356e25303dd4631884
+
+Properly Export pqApplicationComponents.
+
+This fixes and issue pointed out by Orion when building on Fedora with Examples enabled.
+---
+
+diff --git a/Qt/ApplicationComponents/CMakeLists.txt b/Qt/ApplicationComponents/CMakeLists.txt
+index 5fc86d3..d541cf7 100644
+--- a/Qt/ApplicationComponents/CMakeLists.txt
++++ b/Qt/ApplicationComponents/CMakeLists.txt
+@@ -327,7 +327,7 @@ SOURCE_GROUP("Generated" FILES
+   ${CMAKE_CURRENT_BINARY_DIR}/pqApplicationComponentsExport.h
+ )
+ 
+-ADD_LIBRARY(pqApplicationComponents
++VTK_ADD_LIBRARY(pqApplicationComponents
+   ${SOURCE_FILES}
+   ${UI_BUILT_SOURCES}
+   ${MOC_BUILT_SOURCES}
+@@ -340,6 +340,7 @@ TARGET_LINK_LIBRARIES(pqApplicationComponents
+ 
+ IF(NOT PV_INSTALL_NO_LIBRARIES)
+   INSTALL(TARGETS pqApplicationComponents
++    EXPORT ${PV_INSTALL_EXPORT_NAME}
+     RUNTIME DESTINATION ${PV_INSTALL_BIN_DIR} COMPONENT Runtime
+     LIBRARY DESTINATION ${PV_INSTALL_LIB_DIR} COMPONENT Runtime
+     ARCHIVE DESTINATION ${PV_INSTALL_LIB_DIR} COMPONENT Development)


More information about the scm-commits mailing list