فهرست منبع

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).
Ben Boeckel 2 سال پیش
والد
کامیت
349ff8b080
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      Source/cmGeneratorTarget.cxx

+ 0 - 1
Source/cmGeneratorTarget.cxx

@@ -1292,7 +1292,6 @@ bool cmGeneratorTarget::IsSystemIncludeDirectory(
   const std::string& dir, const std::string& config,
   const std::string& dir, const std::string& config,
   const std::string& language) const
   const std::string& language) const
 {
 {
-  assert(this->GetType() != cmStateEnums::INTERFACE_LIBRARY);
   std::string config_upper;
   std::string config_upper;
   if (!config.empty()) {
   if (!config.empty()) {
     config_upper = cmSystemTools::UpperCase(config);
     config_upper = cmSystemTools::UpperCase(config);