summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-12-20 15:28:53 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-12-20 16:05:09 (GMT)
commit255c2e14309a4861b929f65698b7326cff6c63ad (patch)
treeca95124b1313e52251e59c4ff33922916b5626ae /Source/cmGlobalNinjaGenerator.cxx
parent158316dc0c0fb856feb67ca3cacd7681170b5e0a (diff)
downloadCMake-255c2e14309a4861b929f65698b7326cff6c63ad.zip
CMake-255c2e14309a4861b929f65698b7326cff6c63ad.tar.gz
CMake-255c2e14309a4861b929f65698b7326cff6c63ad.tar.bz2
Ninja: LINK_OPTIONS property should support newlines
Fixes: #25513
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index cba48f4..22fd90d 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -564,6 +564,7 @@ cmGlobalNinjaGenerator::cmGlobalNinjaGenerator(cmake* cm)
this->Comspec = "cmd.exe";
}
#endif
+ cm->GetState()->SetNinja(true);
this->FindMakeProgramFile = "CMakeNinjaFindMake.cmake";
}