BUG: Install target for standard header wrappers must point at the std subdirectory in the installation.

This commit is contained in:
Brad King 2003-07-03 07:58:07 -04:00
parent 2b9ed4d9d7
commit edcaaabe99
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ FOREACH(header algorithm deque iterator list map numeric queue set stack string
# Create an install target for the header wrapper.
IF(KWSYS_HEADER_INSTALL_DIR)
INSTALL_FILES(${KWSYS_HEADER_INSTALL_DIR}/${KWSYS_NAMESPACE}
INSTALL_FILES(${KWSYS_HEADER_INSTALL_DIR}/${KWSYS_NAMESPACE}/std
FILES ${KWSYS_HEADER_DIR}/std/${header})
ENDIF(KWSYS_HEADER_INSTALL_DIR)
ENDFOREACH(header)
@ -196,7 +196,7 @@ FOREACH(header iostream fstream sstream iosfwd)
# Create an install target for the header wrapper.
IF(KWSYS_HEADER_INSTALL_DIR)
INSTALL_FILES(${KWSYS_HEADER_INSTALL_DIR}/${KWSYS_NAMESPACE}
INSTALL_FILES(${KWSYS_HEADER_INSTALL_DIR}/${KWSYS_NAMESPACE}/std
FILES ${KWSYS_HEADER_DIR}/std/${header})
ENDIF(KWSYS_HEADER_INSTALL_DIR)
ENDFOREACH(header)