diff options
author | Brad King <brad.king@kitware.com> | 2009-12-08 16:27:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-12-08 16:27:22 (GMT) |
commit | 15316c12f50ae4d34dff855832346c4339574789 (patch) | |
tree | 3fcf6195dc58bb09f161b485b10359adb5445b94 /Source | |
parent | c32088cfee5f6b6957dffd47614809ef7e19be8d (diff) | |
download | CMake-15316c12f50ae4d34dff855832346c4339574789.zip CMake-15316c12f50ae4d34dff855832346c4339574789.tar.gz CMake-15316c12f50ae4d34dff855832346c4339574789.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 1306edc..e7a5e7d 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) |