From 11fe5ec937b838df3106fb4a99983772b60fa499 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Apr 04 2011 22:09:24 +0000 Subject: Add build patch --- 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 +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)