diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-09 16:26:31 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-09 16:26:31 (GMT) |
commit | 0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7 (patch) | |
tree | d04d85e0e4ae1de2bcb0c802567910ebb944c60f /Modules | |
parent | e8b7d233d7545e59fb0046913048d0bcc097ac33 (diff) | |
download | CMake-0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7.zip CMake-0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7.tar.gz CMake-0c302a7e5fa1b52b6b59a0f299dd811a9a1194c7.tar.bz2 |
ENH: Fix test for cpack variables, add support for icon on windows
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPack.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 39c773c..8c32e20 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -6,9 +6,9 @@ ENDIF(EXISTS "${CMAKE_SOURCE_DIR}/CPackConfig.cmake.in") # Macro for setting values if a user did not overwrite them MACRO(cpack_set_if_not_set name value) - IF(NOT "${name}") + IF(NOT DEFINED "${name}") SET(${name} "${value}") - ENDIF(NOT "${name}") + ENDIF(NOT DEFINED "${name}") ENDMACRO(cpack_set_if_not_set) # Set the package name |