Skip to content

Commit

Permalink
Re #7363. Added cpack magic to include paraview and vtk in rpms.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Apr 7, 2015
1 parent ebb97c8 commit bb5ae1c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Code/Mantid/CMakeLists.txt
Expand Up @@ -13,6 +13,9 @@ set ( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Build/CMake")
# Define the project name.
project ( Mantid )

SET (CPACK_INSTALL_CMAKE_PROJECTS
"${CMAKE_BINARY_DIR}" "Mantid" "ALL" "/")

###########################################################################
# Quick exit if we only want data targets
###########################################################################
Expand Down Expand Up @@ -151,6 +154,16 @@ set ( MAKE_VATES OFF CACHE BOOL "Switch for compiling the Vates project")

if ( MAKE_VATES )
add_subdirectory ( Vates )

LIST( APPEND CPACK_INSTALL_CMAKE_PROJECTS
"${ParaView_DIR}" "ParaView Runtime Libs" "Runtime" "/"
)
LIST( APPEND CPACK_INSTALL_CMAKE_PROJECTS
"${ParaView_DIR}" "VTK Runtime Libs" "RuntimeLibraries" "/"
)
LIST( APPEND CPACK_INSTALL_CMAKE_PROJECTS
"${ParaView_DIR}" "HDF5 Core Library" "libraries" "/"
)
endif ( MAKE_VATES )

add_subdirectory ( MantidPlot )
Expand Down

0 comments on commit bb5ae1c

Please sign in to comment.