diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:02:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:32 (GMT) |
commit | 473ca1ac4a5df336ff09ee2c666e437eabf43bc9 (patch) | |
tree | 1a98133fcda79243873ee7a8246b742097759cea /Source/CPack/cmCPackPackageMakerGenerator.h | |
parent | a5996111164a4c4121e7d1fa08dbcd0983bb3589 (diff) | |
download | CMake-473ca1ac4a5df336ff09ee2c666e437eabf43bc9.zip CMake-473ca1ac4a5df336ff09ee2c666e437eabf43bc9.tar.gz CMake-473ca1ac4a5df336ff09ee2c666e437eabf43bc9.tar.bz2 |
stringapi: Use string for OS X resource names
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackPackageMakerGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.h b/Source/CPack/cmCPackPackageMakerGenerator.h index ba3d968..bebb633 100644 --- a/Source/CPack/cmCPackPackageMakerGenerator.h +++ b/Source/CPack/cmCPackPackageMakerGenerator.h @@ -51,7 +51,8 @@ protected: // CPACK_RESOURCE_FILE_${NAME} (where ${NAME} is the uppercased // version of name) specifies the input file to use for this file, // which will be configured via ConfigureFile. - bool CopyCreateResourceFile(const char* name, const char *dirName); + bool CopyCreateResourceFile(const std::string& name, + const std::string& dirName); bool CopyResourcePlistFile(const char* name, const char* outName = 0); // Run PackageMaker with the given command line, which will (if |