Commit 9d85fcfd authored by David Partyka's avatar David Partyka
Browse files

Make using fixup_bundle for vtkpython/vtk executables optional.

Controlled by VTK_INSTALL_THIRD_PARTY_LIBRARIES which is default OFF.
parent b14ef262
...@@ -254,6 +254,9 @@ IF(NOT VTK_INSTALL_JAVA_DIR) ...@@ -254,6 +254,9 @@ IF(NOT VTK_INSTALL_JAVA_DIR)
SET(VTK_INSTALL_JAVA_DIR ${VTK_INSTALL_PACKAGE_DIR}/java) SET(VTK_INSTALL_JAVA_DIR ${VTK_INSTALL_PACKAGE_DIR}/java)
ENDIF(NOT VTK_INSTALL_JAVA_DIR) ENDIF(NOT VTK_INSTALL_JAVA_DIR)
OPTION(VTK_INSTALL_THIRD_PARTY_LIBRARIES "Use fixup bundle to install vtk and vtkpython dependencies." OFF)
MARK_AS_ADVANCED(VTK_INSTALL_THIRD_PARTY_LIBRARIES)
# There are three basic components to the VTK installation: runtime, # There are three basic components to the VTK installation: runtime,
# development, and documentation. Install rules for each component # development, and documentation. Install rules for each component
# are surrounded by blockers. Parent projects or users can specify # are surrounded by blockers. Parent projects or users can specify
...@@ -267,18 +270,6 @@ ENDIF(NOT VTK_INSTALL_JAVA_DIR) ...@@ -267,18 +270,6 @@ ENDIF(NOT VTK_INSTALL_JAVA_DIR)
# decision here. # decision here.
SET(VTK_INSTALL_NO_LIBRARIES) SET(VTK_INSTALL_NO_LIBRARIES)
IF(NOT DEFINED VTK_INSTALL_DEVELOPMENT)
SET(VTK_INSTALL_DEVELOPMENT ON CACHE BOOL "Install headers, link libraries and other files used for development" FORCE )
ENDIF()
IF(NOT DEFINED VTK_INSTALL_NO_DEVELOPMENT)
IF(VTK_INSTALL_DEVELOPMENT)
SET(VTK_INSTALL_NO_DEVELOPMENT OFF)
ELSE()
SET(VTK_INSTALL_NO_DEVELOPMENT ON)
ENDIF()
ENDIF()
IF(BUILD_SHARED_LIBS) IF(BUILD_SHARED_LIBS)
IF(VTK_INSTALL_NO_RUNTIME AND VTK_INSTALL_NO_DEVELOPMENT) IF(VTK_INSTALL_NO_RUNTIME AND VTK_INSTALL_NO_DEVELOPMENT)
SET(VTK_INSTALL_NO_LIBRARIES ON) SET(VTK_INSTALL_NO_LIBRARIES ON)
...@@ -1516,8 +1507,10 @@ IF(NOT VTK_INSTALL_NO_DEVELOPMENT) ...@@ -1516,8 +1507,10 @@ IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
COMPONENT Development) COMPONENT Development)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT) ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
# Install rules for fixing up vtkpython # Use fixup_bundle to pull in vtk and vtkpython dependencies
ADD_SUBDIRECTORY(Utilities/Release) IF(VTK_INSTALL_THIRD_PARTY_LIBRARIES)
ADD_SUBDIRECTORY(Utilities/Release)
ENDIF()
# Setup CPack # Setup CPack
INCLUDE(VTKCPack.cmake) INCLUDE(VTKCPack.cmake)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment