Browse Source

ENH: add a comment

Bill Hoffman 19 years ago
parent
commit
9ab387b7d9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Modules/CPack.cmake

+ 4 - 0
Modules/CPack.cmake

@@ -20,6 +20,10 @@ MACRO(cpack_set_if_not_set name value)
 ENDMACRO(cpack_set_if_not_set)
 
 # Macro to encode variables for the configuration file
+# find any varable that stars with CPACK and create a variable
+# _CPACK_OTHER_VARIABLES_ that contains SET commands for
+# each cpack variable.  _CPACK_OTHER_VARIABLES_ is then
+# used as an @ replacment in configure_file for the CPackConfig.
 MACRO(cpack_encode_variables)
   SET(_CPACK_OTHER_VARIABLES_)
   GET_CMAKE_PROPERTY(res VARIABLES)