Skip to content
Snippets Groups Projects
  1. Jul 08, 2021
  2. Jul 07, 2021
  3. Jul 06, 2021
  4. Jul 05, 2021
  5. Jul 04, 2021
  6. Jul 03, 2021
  7. Jul 02, 2021
  8. Jul 01, 2021
  9. Jun 30, 2021
  10. Jun 29, 2021
    • Brad King's avatar
      target_link_libraries: Restore transitive out-of-dir linking · e27a76f1
      Brad King authored
      Refactoring in commit 7f506b95 (cmGeneratorTarget: Refactor link item
      lookup, 2021-05-26, v3.21.0-rc1~103^2~4) accidentally dropped the
      persistent lookup scope tracking across multiple items that was added by
      commit f0e67da0 (target_link_libraries: Fix out-of-dir linking of a
      list of targets, 2020-01-14, v3.17.0-rc1~149^2).  This broke a
      transitive out-of-dir linking case not covered by our test suite.
      Restore the scope tracking and add a test case.
      
      Fixes: #22363
      e27a76f1
    • Brad King's avatar
      DetermineCompiler: Restore identification of MSVC with no INCLUDE dirs · c6aaaf06
      Brad King authored
      Since commit bd844387 (ROCMClang: Add the ROCm toolkit derived clang
      compiler to CMake, 2020-08-28, v3.21.0-rc1~66^2~6), our generated
      compiler id source file contains a preprocessor condition of the form
      
          #elif ... && __has_include(...)
      
      When MSVC is invoked with no include directories in the `INCLUDE`
      environment variable or in `-I` flags, its implementation of
      `__has_include` errors out immediately.  This breaks identification of
      the compiler.
      
      Work around the problem by adding a fallback attempt to compile the
      identification source using a dummy include directory.
      c6aaaf06
    • Alex Sweet's avatar
      CPack/RPM: Fix weak dep support · 9b53eca3
      Alex Sweet authored and Brad King's avatar Brad King committed
      RPM 4.11.3 for el7 contains backported support for the RPM weak dep tags.
      It only supports querying those tags, but rpmbuild can not make use of them.
      Since CPack relies on rpmbuild --querytags to check for support, this
      commit switches to rpm --suggests to check for support of weak
      dependencies.
      
      Fixes: #22350
      9b53eca3
Loading