FIX: fix shared flag
This commit is contained in:
parent
901dc9d49f
commit
674349caed
|
@ -1004,7 +1004,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs,
|
||||||
langVar += linkLanguage;
|
langVar += linkLanguage;
|
||||||
std::string flagsVar = langVar + "_FLAGS";
|
std::string flagsVar = langVar + "_FLAGS";
|
||||||
std::string sharedFlagsVar = "CMAKE_SHARED_LIBRARY_";
|
std::string sharedFlagsVar = "CMAKE_SHARED_LIBRARY_";
|
||||||
sharedFlagsVar += langVar;
|
sharedFlagsVar += linkLanguage;
|
||||||
sharedFlagsVar += "_FLAGS";
|
sharedFlagsVar += "_FLAGS";
|
||||||
flags += m_Makefile->GetSafeDefinition(flagsVar.c_str());
|
flags += m_Makefile->GetSafeDefinition(flagsVar.c_str());
|
||||||
flags += " ";
|
flags += " ";
|
||||||
|
|
Loading…
Reference in New Issue