diff options
author | Brad King <brad.king@kitware.com> | 2013-10-10 12:29:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-10 12:33:25 (GMT) |
commit | 2e13c362117dbd0df2d5fff1c00ee8af2707185a (patch) | |
tree | 25272e06ea8f577f242c2158dd986210bc6c7d66 /Source/cmMakefileTargetGenerator.h | |
parent | 872db622d62012d6ea0c2142d75f9a0b97949004 (diff) | |
download | CMake-2e13c362117dbd0df2d5fff1c00ee8af2707185a.zip CMake-2e13c362117dbd0df2d5fff1c00ee8af2707185a.tar.gz CMake-2e13c362117dbd0df2d5fff1c00ee8af2707185a.tar.bz2 |
OS X: Encode -F framework search flag in per-language platform variable
Compilers for languages other than C and C++ on OS X may not understand
the -F framework search flag. Create a new platform information
variable CMAKE_<LANG>_FRAMEWORK_SEARCH_FLAG to hold the flag, and set it
for C and CXX lanugages in the Platform/Darwin module.
Reported-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index f7a1e2e..ec2af1c 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -124,7 +124,7 @@ protected: void DriveCustomCommands(std::vector<std::string>& depends); // Return the a string with -F flags on apple - std::string GetFrameworkFlags(); + std::string GetFrameworkFlags(std::string const& l); void AppendFortranFormatFlags(std::string& flags, cmSourceFile& source); |