mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
cmState: Move TargetType enum to separate namespace
This commit is contained in:
@@ -76,8 +76,8 @@ cmLocalVisualStudioGenerator::MaybeCreateImplibDir(cmGeneratorTarget* target,
|
||||
// If an executable exports symbols then VS wants to create an
|
||||
// import library but forgets to create the output directory.
|
||||
// The Intel Fortran plugin always forgets to the directory.
|
||||
if (target->GetType() != cmState::EXECUTABLE &&
|
||||
!(isFortran && target->GetType() == cmState::SHARED_LIBRARY)) {
|
||||
if (target->GetType() != cmStateEnums::EXECUTABLE &&
|
||||
!(isFortran && target->GetType() == cmStateEnums::SHARED_LIBRARY)) {
|
||||
return pcc;
|
||||
}
|
||||
std::string outDir = target->GetDirectory(config, false);
|
||||
|
||||
Reference in New Issue
Block a user