mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
cmGlobalGenerator: mark intermediate directory strategy variables as used
Fixes: #27222
This commit is contained in:
1 parent
568e3318bc
commit
9ad31a0d88
1 file changed
+3
@@ -1444,6 +1444,7 @@ bool cmGlobalGenerator::Compute()
|
||||
|
||||
if (cmValue v = this->CMakeInstance->GetCacheDefinition(
|
||||
"CMAKE_INTERMEDIATE_DIR_STRATEGY")) {
|
||||
this->GetCMakeInstance()->MarkCliAsUsed("CMAKE_INTERMEDIATE_DIR_STRATEGY");
|
||||
if (*v == "FULL") {
|
||||
this->IntDirStrategy = IntermediateDirStrategy::Full;
|
||||
} else if (*v == "SHORT") {
|
||||
@@ -1457,6 +1458,8 @@ bool cmGlobalGenerator::Compute()
|
||||
}
|
||||
if (cmValue v = this->CMakeInstance->GetCacheDefinition(
|
||||
"CMAKE_AUTOGEN_INTERMEDIATE_DIR_STRATEGY")) {
|
||||
this->GetCMakeInstance()->MarkCliAsUsed(
|
||||
"CMAKE_AUTOGEN_INTERMEDIATE_DIR_STRATEGY");
|
||||
if (*v == "FULL") {
|
||||
this->QtAutogenIntDirStrategy = IntermediateDirStrategy::Full;
|
||||
} else if (*v == "SHORT") {
|
||||
|
||||
Reference in new issue
Block a user