Blob Blame History Raw
From: David Partyka <david.partyka@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)