KWSys: Remove default exe output path

KWSys should not set variables outside its namespace.  It can honor the
EXECUTABLE_OUTPUT_PATH set by a host project, but tere is no need for it
to set a default in the host project cache.
This commit is contained in:
Brad King 2009-12-08 11:27:22 -05:00
parent c32088cfee
commit 15316c12f5
1 changed files with 0 additions and 7 deletions

View File

@ -301,13 +301,6 @@ ELSE(COMMAND INSTALL)
SET(KWSYS_INSTALL_LIB_DIR)
ENDIF(COMMAND INSTALL)
# Work-around for CMake 1.6.7 bug in custom command dependencies when
# there is no executable output path.
IF(NOT EXECUTABLE_OUTPUT_PATH)
SET(EXECUTABLE_OUTPUT_PATH "${PROJECT_BINARY_DIR}" CACHE PATH
"Output directory for executables.")
ENDIF(NOT EXECUTABLE_OUTPUT_PATH)
# Generated source files will need this header.
STRING(COMPARE EQUAL "${PROJECT_SOURCE_DIR}" "${PROJECT_BINARY_DIR}"
KWSYS_IN_SOURCE_BUILD)