From 15316c12f50ae4d34dff855832346c4339574789 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 8 Dec 2009 11:27:22 -0500 Subject: [PATCH] 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. --- Source/kwsys/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 1306edc73..e7a5e7dc4 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -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)