diff options
author | Brad King <brad.king@kitware.com> | 2006-12-04 18:54:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-12-04 18:54:32 (GMT) |
commit | d045ae45f2e45ca538269aadbab5e7dd6511186a (patch) | |
tree | d185cb7b164e3bdace17f73c661ef48c67acf3ee | |
parent | 273ac875716752d48720a905d0380373e21901ca (diff) | |
download | CMake-d045ae45f2e45ca538269aadbab5e7dd6511186a.zip CMake-d045ae45f2e45ca538269aadbab5e7dd6511186a.tar.gz CMake-d045ae45f2e45ca538269aadbab5e7dd6511186a.tar.bz2 |
BUG: Do not print empty install configuration repeatedly.
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 82736d2..398093d 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -361,7 +361,7 @@ void cmLocalGenerator::GenerateInstallRules() // Write support code for generating per-configuration install rules. fout << "# Set the install configuration name.\n" - "IF(NOT CMAKE_INSTALL_CONFIG_NAME)\n" + "IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)\n" " IF(BUILD_TYPE)\n" " STRING(REGEX REPLACE \"^[^A-Za-z0-9_]+\" \"\"\n" " CMAKE_INSTALL_CONFIG_NAME \"${BUILD_TYPE}\")\n" @@ -370,7 +370,7 @@ void cmLocalGenerator::GenerateInstallRules() " ENDIF(BUILD_TYPE)\n" " MESSAGE(STATUS \"Install configuration: " "\\\"${CMAKE_INSTALL_CONFIG_NAME}\\\"\")\n" - "ENDIF(NOT CMAKE_INSTALL_CONFIG_NAME)\n" + "ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)\n" "\n"; // Write support code for dealing with component-specific installs. |