Commit c6be1112 authored by Brad King's avatar Brad King
Browse files

BUG: FILE command in PluginInstall.cmake already knows about the BUILD_TYPE so...

BUG: FILE command in PluginInstall.cmake already knows about the BUILD_TYPE so we should not set it.
parent e0de6460
......@@ -193,15 +193,6 @@ IF(BUILD_QVTK_PLUGIN)
MARK_AS_ADVANCED(VTK_INSTALL_QT_PLUGIN_DIR)
ENDIF(DEFINED VTK_INSTALL_QT_PLUGIN_DIR)
# If there are multiple configurations then make sure the one
# specified by the CMake variable BUILD_TYPE is installed. This
# variable is set while the install script is running.
IF(CMAKE_CONFIGURATION_TYPES)
SET(VTK_INSTALL_QT_BUILD_TYPE "/${DOLLAR}{BUILD_TYPE}")
ELSE(CMAKE_CONFIGURATION_TYPES)
SET(VTK_INSTALL_QT_BUILD_TYPE)
ENDIF(CMAKE_CONFIGURATION_TYPES)
# Configure the plugin install script. This is used instead of
# INSTALL_TARGETS to allow the plugin to be installed outside the
# main install prefix. Attach the script as a post-install script.
......
# Configured file and directory locations.
SET(CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@")
SET(VTK_LIB_DIR "@LIBRARY_OUTPUT_PATH@@VTK_INSTALL_QT_BUILD_TYPE@")
SET(VTK_LIB_DIR "@LIBRARY_OUTPUT_PATH@)
SET(VTK_INSTALL_QT_DIR "@VTK_INSTALL_QT_DIR@")
SET(VTK_INSTALL_QT_PLUGIN_DIR "@VTK_INSTALL_QT_PLUGIN_DIR@")
SET(VTK_INSTALL_QT_PLUGIN_FILE "@CMAKE_SHARED_LIBRARY_PREFIX@QVTKWidgetPlugin@CMAKE_SHARED_LIBRARY_SUFFIX@")
......
Markdown is supported
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