summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-12-10 14:10:12 (GMT)
committerBrad King <brad.king@kitware.com>2009-12-10 14:10:12 (GMT)
commit30f17e293261ec9e667b75b13fa1b70060a9cc7b (patch)
treed914f7293aee1813b94919dd87b06feebbf61657 /Source/CTest
parent31e268201530eda53f0ac8dc4a3ec5bac19f3006 (diff)
downloadCMake-30f17e293261ec9e667b75b13fa1b70060a9cc7b.zip
CMake-30f17e293261ec9e667b75b13fa1b70060a9cc7b.tar.gz
CMake-30f17e293261ec9e667b75b13fa1b70060a9cc7b.tar.bz2
Fix installation of CMake itself
CMake 2.8.0 and below use the EXECUTABLE_OUTPUT_PATH setting from the top-level CMakeLists.txt file to compute the location of the "cmake" target for the special case of installing cmake over itself. The commit "Clean up CMake build tree 'bin' directory" moved the setting of EXECUTABLE_OUTPUT_PATH that affects the "cmake" target into the Source subdirectory. This broke the special-case lookup in the top level. We fix it by setting EXECUTABLE_OUTPUT_PATH at the end of the top-level CMakeLists.txt file. Now that we use add_subdirectory to process the subdirectories in order, this setting does not affect the subdirectories. Thus we fix installation while preserving the clean build tree 'bin' directory intended by the above-mentioned commit.
Diffstat (limited to 'Source/CTest')
0 files changed, 0 insertions, 0 deletions