diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index f446bc784..1c2493466 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -504,7 +504,11 @@ cmLocalUnixMakefileGenerator3 //---------------------------------------------------------------------------- std::string cmLocalUnixMakefileGenerator3 -::GetFrameworkFlags(cmTarget& target) +::GetFrameworkFlags(cmTarget& +#ifdef __APPLE__ + target +#endif + ) { #ifndef __APPLE__ return std::string();