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:
parent
c32088cfee
commit
15316c12f5
@ -301,13 +301,6 @@ ELSE(COMMAND INSTALL)
|
|||||||
SET(KWSYS_INSTALL_LIB_DIR)
|
SET(KWSYS_INSTALL_LIB_DIR)
|
||||||
ENDIF(COMMAND INSTALL)
|
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.
|
# Generated source files will need this header.
|
||||||
STRING(COMPARE EQUAL "${PROJECT_SOURCE_DIR}" "${PROJECT_BINARY_DIR}"
|
STRING(COMPARE EQUAL "${PROJECT_SOURCE_DIR}" "${PROJECT_BINARY_DIR}"
|
||||||
KWSYS_IN_SOURCE_BUILD)
|
KWSYS_IN_SOURCE_BUILD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user