diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2017-04-19 17:10:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-20 14:22:33 (GMT) |
commit | cf320f7cd74eeb87437f737e6e977f2231e109a1 (patch) | |
tree | b5311bf666cbf9324bbacc446b787658566b5e24 /Source/cmOSXBundleGenerator.cxx | |
parent | 44f0d2d9913595e214048b6d5a2b9ab2e9d1cf46 (diff) | |
download | CMake-cf320f7cd74eeb87437f737e6e977f2231e109a1.zip CMake-cf320f7cd74eeb87437f737e6e977f2231e109a1.tar.gz CMake-cf320f7cd74eeb87437f737e6e977f2231e109a1.tar.bz2 |
Replace boolean `implib` parameters with enum
Named enumeration values are much clearer at call sites and add more
type safety.
Diffstat (limited to 'Source/cmOSXBundleGenerator.cxx')
-rw-r--r-- | Source/cmOSXBundleGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx index c09feef..332fa83 100644 --- a/Source/cmOSXBundleGenerator.cxx +++ b/Source/cmOSXBundleGenerator.cxx @@ -7,6 +7,7 @@ #include "cmGeneratorTarget.h" #include "cmLocalGenerator.h" #include "cmMakefile.h" +#include "cmStateTypes.h" #include "cmSystemTools.h" #include "cmTarget.h" @@ -213,8 +214,8 @@ std::string cmOSXBundleGenerator::InitMacOSXContentDirectory( { // Construct the full path to the content subdirectory. - std::string macdir = this->GT->GetMacContentDirectory(this->ConfigName, - /*implib*/ false); + std::string macdir = this->GT->GetMacContentDirectory( + this->ConfigName, cmStateEnums::RuntimeBinaryArtifact); macdir += "/"; macdir += pkgloc; cmSystemTools::MakeDirectory(macdir.c_str()); |