diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-26 12:49:57 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-26 18:31:42 (GMT) |
commit | 349ff8b080d7075d3773a5c9dbf4f0545bb92163 (patch) | |
tree | 9ba91e0f20665497c9a302c98d6d42266ac306a9 | |
parent | 681a763425a41b731480a348e935ed13350660f5 (diff) | |
download | CMake-349ff8b080d7075d3773a5c9dbf4f0545bb92163.zip CMake-349ff8b080d7075d3773a5c9dbf4f0545bb92163.tar.gz CMake-349ff8b080d7075d3773a5c9dbf4f0545bb92163.tar.bz2 |
cmGeneratorTarget: remove not-INTERFACE assertion
IMPORTED INTERFACE targets which provide C++ modules may have include
directories that need checked for whether they are system directories or
not. These directories are intended for the module compilation
themselves (which may include headers that module consumers do not need).
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index f4dcd98..9e61d9b 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -1292,7 +1292,6 @@ 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); |