diff options
author | Brad King <brad.king@kitware.com> | 2023-09-27 15:25:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-09-27 15:25:22 (GMT) |
commit | 6bb05172acc8519a174a4f6294dd96d82c846d4c (patch) | |
tree | 5c4c29e5905a1a73e47539e3399561e27fda849e /Source/cmGeneratorTarget.cxx | |
parent | 2a12a83037dead14173fcf0219f4669229c67147 (diff) | |
parent | 42654cc8183af23a0d570355571d0a9d52a9d84d (diff) | |
download | CMake-6bb05172acc8519a174a4f6294dd96d82c846d4c.zip CMake-6bb05172acc8519a174a4f6294dd96d82c846d4c.tar.gz CMake-6bb05172acc8519a174a4f6294dd96d82c846d4c.tar.bz2 |
Merge topic 'cxxmodules-export-dirs-with-prefix'
42654cc818 Tests/CXXModules: add tests for modules with include requirements
7217cb78cf Tests/CXXModules: relax line number matching in stderr
b3d1bbbbcc cmExportFileGenerator: relocate include directories for C++ modules
349ff8b080 cmGeneratorTarget: remove not-INTERFACE assertion
681a763425 cmGeneratorTarget: use a character literal
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8838
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 181ffd1..04d7bb1 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -1292,13 +1292,12 @@ bool cmGeneratorTarget::IsSystemIncludeDirectory( const std::string& dir, const std::string& config, const std::string& language) const { - assert(this->GetType() != cmStateEnums::INTERFACE_LIBRARY); std::string config_upper; if (!config.empty()) { config_upper = cmSystemTools::UpperCase(config); } - std::string key = cmStrCat(config_upper, "/", language); + std::string key = cmStrCat(config_upper, '/', language); auto iter = this->SystemIncludesCache.find(key); if (iter == this->SystemIncludesCache.end()) { |