diff options
Diffstat (limited to 'Modules/CPack.cmake')
-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 |