ENH: Adding cmake 2.4 style installation. NOTE: These changes will work on a paraview build only. This file has to updated to be general

This commit is contained in:
Berk Geveci 2006-07-05 08:26:19 -04:00
parent b1e82cf976
commit 98ffeb0926
1 changed files with 8 additions and 1 deletions

View File

@ -533,7 +533,14 @@ IF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)
# Create an install target for the library. # Create an install target for the library.
IF(KWSYS_LIBRARY_INSTALL_DIR) IF(KWSYS_LIBRARY_INSTALL_DIR)
IF(VTK_INSTALL_HAS_CMAKE_24)
INSTALL(TARGETS ${KWSYS_NAMESPACE}
RUNTIME DESTINATION ${VTK_INSTALL_BIN_DIR_CM24} COMPONENT Runtime
LIBRARY DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Runtime
ARCHIVE DESTINATION ${VTK_INSTALL_LIB_DIR_CM24} COMPONENT Development)
ELSE(VTK_INSTALL_HAS_CMAKE_24)
INSTALL_TARGETS(${KWSYS_LIBRARY_INSTALL_DIR} ${KWSYS_NAMESPACE}) INSTALL_TARGETS(${KWSYS_LIBRARY_INSTALL_DIR} ${KWSYS_NAMESPACE})
ENDIF(VTK_INSTALL_HAS_CMAKE_24)
ENDIF(KWSYS_LIBRARY_INSTALL_DIR) ENDIF(KWSYS_LIBRARY_INSTALL_DIR)
ENDIF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS) ENDIF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)